Open imvtsl opened 1 month ago
APIs in the specification show response for success scenario. Responses for error scenarios are not added.
Consider this API spec as an example. Response body is missing for error status codes like 4xx, 5xx, etc.
The spec should have error responses to improve usability of the APIs.
💯 error responses are totally missing in most places, they often have common definitions, too
What is the bug?
APIs in the specification show response for success scenario. Responses for error scenarios are not added.
How can one reproduce the bug?
Consider this API spec as an example. Response body is missing for error status codes like 4xx, 5xx, etc.
What is the expected behavior?
The spec should have error responses to improve usability of the APIs.