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

Default JsonErrorResponse schema references out-of-date name for HTTP 422 #599

Open
arcanemachine opened this issue Mar 1, 2024 · 1 comment · May be fixed by #598
Open

Default JsonErrorResponse schema references out-of-date name for HTTP 422 #599

arcanemachine opened this issue Mar 1, 2024 · 1 comment · May be fixed by #598

Comments

@arcanemachine
Copy link
Contributor

arcanemachine commented Mar 1, 2024

The newest RFC on HTTP semantics (RFC 9110) uses a different term for HTTP 422 ("Unprocessable Content") than the old term ("Unprocessable Entity").

This change should be reflected in the OpenApiSpex.JsonErrorResponse schema.

https://httpwg.org/specs/rfc9110.html#status.422

@zorbash
Copy link
Contributor

zorbash commented Mar 15, 2024

Thank you for submitting a PR for this @arcanemachine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants