Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error responses missing in API specs #445

Open
imvtsl opened this issue Jul 22, 2024 · 1 comment
Open

[BUG] Error responses missing in API specs #445

imvtsl opened this issue Jul 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@imvtsl
Copy link
Contributor

imvtsl commented Jul 22, 2024

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.

@imvtsl imvtsl added bug Something isn't working untriaged labels Jul 22, 2024
@dblock
Copy link
Member

dblock commented Jul 22, 2024

💯 error responses are totally missing in most places, they often have common definitions, too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants