-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Fix: #2471. Clarify status code text. #2630
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
Conversation
@MikeRalphson as you requested :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ioggstream! Please could you retarget against versions/3.1.1.md
on the v3.1.1-dev
branch?
Co-authored-by: Darrel <[email protected]>
This suggests the JSON Schema should be softened to support more than just |
Hi @karenetheridge, maybe I'm missing something.
iiuc all IANA status codes should comply with the above spec, and that there should be no change in https://github.com/OAI/OpenAPI-Specification/blob/main/schemas/v3.1/schema.yaml#L529 If its not the case, how would you modify the above file? thx++, R |
@karenetheridge There are no status codes in the IANA registry outside of the 100-599 range, so the regex in JSON Schema is fine. |
The specification says SHOULD -- so doesn't this mean that it is still permissible for values to be outside that range (for some unusual usecase)? |
* Fix: OAI#2471. Clarify status code text. * Update versions/3.1.1.md Co-authored-by: Darrel <[email protected]> Co-authored-by: Darrel <[email protected]>
* Fix: OAI#2471. Clarify status code text. * Update versions/3.1.1.md Co-authored-by: Darrel <[email protected]> Co-authored-by: Darrel <[email protected]>
This PR
Fixes: #2471