-
Notifications
You must be signed in to change notification settings - Fork 9.1k
adds formats registry considerations #3204
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
Signed-off-by: Vincent Biret <[email protected]>
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.
LGTM - just a couple of suggestions as not all formats have a linked standard, but it doesn't necessarily make them ambiguous.
Co-authored-by: Mike Ralphson <[email protected]>
@handrews I just wanted to surface this one up for you in case you didn't see it :) Your feedback is always welcome. |
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.
I'm generally OK with this, and don't feel super-strongly about the one comment I made.
@@ -5,6 +5,16 @@ permalink: /registry/format/index.html | |||
|
|||
# Formats Registry | |||
|
|||
## Considerations | |||
|
|||
The existence of a format in this registry DOES NOT require tools to implement it. |
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.
The RFC 2119 way to say this would be something like:
Tools MAY implement formats beyond those defined in the OpenAPI specification as they are defined here, but are not required to do so.
or (less commonly seen)
Implementing formats beyond those defined in the OpenAPI specification as they are defined here is strictly OPTIONAL
I don't care about the exact wording, but we should probably not all-caps non-RFC 2119 terms. OPTIONAL and MAY have the same weight in RFC 2119. The OPTIONAL wording above feels closer to what you wrote.
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.
@webron Please suggest a revision to this.
Co-authored-by: Darrel <[email protected]>
related #3196