How to generate documentation and attribution to error codes #795
Unanswered
JASKevinWhite
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on an API. Certain calls to the API can result in HTTP errors being returned. My problem is that the docs pages and the YAML don't refer to the error. For example:
Note, the code obviously isn't complete and I know that passing username/password as GET path parameters isn't likely what I want.
The documentation page only shows the 200 response. It doesn't show the 401.
I know I can add this to the Operation:
Is that what I'm supposed to do? If I have different HTTP responses for a given operation, am I to maintain that map manually?
Thanks...
Beta Was this translation helpful? Give feedback.
All reactions