Beignet API reference
    Preparing search index...

    Function inferSoleSuccessStatus

    Success status helpers shared by the server route binder and tooling.

    • Resolve the sole declared 2xx status of a contract, or undefined when the contract declares zero or multiple 2xx statuses.

      Parameters

      Returns number | undefined