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

Improved error message #141

Open
wolfadex opened this issue Aug 26, 2024 · 0 comments
Open

Improved error message #141

wolfadex opened this issue Aug 26, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@wolfadex
Copy link
Owner

("Among the "
++ String.fromInt (Dict.size responses)
++ " possible responses, there was no successful one."
)

This error message could be improved to give examples of how to resolve it. An example of the output might look like

Warning: Among the 1 possible responses, there was no successful one.

  at /vats/{id} -> GET
  at /tenants/{id} -> GET
  at /tenants -> GET  

Make sure your spec defines a 2XX and/or 3XX response for these endpoints.
@wolfadex wolfadex added enhancement New feature or request good first issue Good for newcomers labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant