-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Is "examples" (plural) supported inside schemas in 3.0.x? #1494
Comments
@hkosova That's an error in my opinion. Our goal was to bring our schema object closer to JSON Schema, not to add more stuff to it. |
@darrelmiller @hkosova as of draft-06, JSON Schema has |
@darrelmiller curious about your thoughts as to what it would take to get this added? |
If
Also, it would be cool if items in the |
Is there any plan to support examples in schemas section? This would be really useful. Based on @handrews comment, sounds like its already supported by JSON schema, so it wouldn't be adding stuff to the JSON schema = ) |
@mindstretch23 assuming |
Closing - the example mentioned in the original post is a mistake, it will be removed by PR #2042. |
OpenAPI Specification versions: 3.0.0, 3.0.1
The Example Object Example section demonstrates the usage of the
examples
(plural) keyword inside a schema:However, the Schema Object description only mentions the
example
keyword (singular) but notexamples
(plural).Is
examples
actually supported inside schemas?Or is the abovementioned example invalid?
The text was updated successfully, but these errors were encountered: