How to generate documentation and attribution to error codes #795
-
|
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.
Replies: 1 comment
-
|
Duplicate of #451, continuing the discussion there :) |
Beta Was this translation helpful? Give feedback.
Duplicate of #451, continuing the discussion there :)