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

Support application/problem+json for error responses #96

Closed
ahx opened this issue Sep 16, 2020 · 2 comments
Closed

Support application/problem+json for error responses #96

ahx opened this issue Sep 16, 2020 · 2 comments
Milestone

Comments

@ahx
Copy link
Owner

ahx commented Sep 16, 2020

https://tools.ietf.org/html/rfc7807

Related to #39

@ahx
Copy link
Owner Author

ahx commented Nov 12, 2023

Related to this topic: Since 1.0 (beta 5) you can create your custom error response by subclassing including OpenapiFirst::ErrorResponse and configure request validation.

@ahx
Copy link
Owner Author

ahx commented Jan 4, 2024

#204 makes application/problem+json the default. Still figuring out the details of "errors" before releasing this in 1.0, but it is solved.

@ahx ahx closed this as completed Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant