We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
OAS 3.1 adds contains, maxContains and minContains.
contains
maxContains
minContains
These are keywords for validating type:array Schema Objects.
type:array
contains takes a schema value that X items in the array must follow where minContains <= X <= maxContains.
maxContains and minContains have no effect if contains is unspecified.
minContains default to 1 if unspecified. (must be a non-negative integer, zero is allowed)
Useful links: contains minContains and maxContains
The text was updated successfully, but these errors were encountered:
No branches or pull requests
OAS 3.1 adds
contains
,maxContains
andminContains
.These are keywords for validating
type:array
Schema Objects.contains
takes a schema value that X items in the array must follow whereminContains
<= X <=maxContains
.maxContains
andminContains
have no effect ifcontains
is unspecified.minContains
default to 1 if unspecified. (must be a non-negative integer, zero is allowed)Useful links:
contains
minContains and maxContains
The text was updated successfully, but these errors were encountered: