open-api-spex / open_api_spex

Open API Specifications for Elixir Plug applications
Mozilla Public License 2.0
681 stars 177 forks source link

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

Open arcanemachine opened 4 months ago

arcanemachine commented 4 months ago

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 commented 3 months ago

Thank you for submitting a PR for this @arcanemachine