-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
Minimum and maximum properties are not validated #49
Labels
area/schema
Indicates an issue on schema area
good first issue
Indicates an issue ready for a new contributor.
kind/bug/confirmed
Comments
p1c2u
added
kind/bug/confirmed
good first issue
Indicates an issue ready for a new contributor.
labels
Jul 9, 2018
The relevant part of the code: The OpenAPI schema properties, which are currently not supported:
Their definition can be obtained from: |
correl
added a commit
to correl/openapi-core
that referenced
this issue
Sep 9, 2018
Add support for the following validation properties: - multipleOf - maximum - exclusiveMaximum - minimum - exclusiveMinimum - maxLength - minLength - pattern - maxItems - minItems - uniqueItems - maxProperties - minProperties Fixes python-openapi#49
correl
added a commit
to correl/openapi-core
that referenced
this issue
Sep 9, 2018
Add support for the following validation properties: - multipleOf - maximum - exclusiveMaximum - minimum - exclusiveMinimum - maxLength - minLength - pattern - maxItems - minItems - uniqueItems - maxProperties - minProperties Fixes python-openapi#49
correl
added a commit
to correl/openapi-core
that referenced
this issue
Sep 9, 2018
Add support for the following validation properties: - multipleOf - maximum - exclusiveMaximum - minimum - exclusiveMinimum - maxLength - minLength - pattern - maxItems - minItems - uniqueItems - maxProperties - minProperties Fixes python-openapi#49
correl
added a commit
to correl/openapi-core
that referenced
this issue
Sep 9, 2018
Add support for the following validation properties: - multipleOf - maximum - exclusiveMaximum - minimum - exclusiveMinimum - maxLength - minLength - pattern - maxItems - minItems - uniqueItems - maxProperties - minProperties Fixes python-openapi#49
correl
added a commit
to correl/openapi-core
that referenced
this issue
Sep 9, 2018
Add support for the following validation properties: - multipleOf - maximum - exclusiveMaximum - minimum - exclusiveMinimum - maxLength - minLength - pattern - maxItems - minItems - uniqueItems - maxProperties - minProperties Fixes python-openapi#49
bjmc
pushed a commit
to bjmc/openapi-core
that referenced
this issue
Jun 12, 2019
Add support for the following validation properties: - multipleOf - maximum - exclusiveMaximum - minimum - exclusiveMinimum - maxLength - minLength - pattern - maxItems - minItems - uniqueItems - maxProperties - minProperties Fixes python-openapi#49
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/schema
Indicates an issue on schema area
good first issue
Indicates an issue ready for a new contributor.
kind/bug/confirmed
Version: 0.5.0
Expected result: setting a number below 'minimum' or above 'maximum' properties on an should add an error in the attribute
RequestValidationResult.errors
whenRequestValidator.validate
is called.Actual result: Specifying the parameters 'minimum' or 'maximum' makes no difference when validating, returning a
None
whenRequestValidationResult.errors
is checked.The text was updated successfully, but these errors were encountered: