Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Body for non-200 responses get lost #34

Open
bvwells opened this issue Oct 20, 2020 · 0 comments
Open

Body for non-200 responses get lost #34

bvwells opened this issue Oct 20, 2020 · 0 comments

Comments

@bvwells
Copy link
Contributor

bvwells commented Oct 20, 2020

Many APIs return a payload in the case of a non-200 response. For example, an error payload with details of why an API call was a bad request. i.e.

        '400':
          description: Bad request
          schema:
            $ref: "#/definitions/error"

It would be useful to have these payloads returned from the generated clients.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant