Skip to content

minItems and maxItems not present in 3.1 docs? #2602

Closed Answered by MikeRalphson
mimkorn asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, this is the reason, minItems and maxItems (and all JSON Schema keywords unaltered by OAS) are now defined solely by the JSON Schema specification. This allows us to reduce the length of the OAS, avoid repetition and inadvertent mistakes/differences. We appreciate having to read two specs is more work, but realistically it has always been the case that a working knowledge of the JSON Schema draft which the OAS references is necessary to fully utilitise OAS.

Both projects are working on more narrative documentation, so consumers who prefer not to read things written in specification language have an alternative, more instructional route available to them; for example: https://oai.githu…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mimkorn
Comment options

Answer selected by MikeRalphson
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants