openapi-core
openapi-core copied to clipboard
[Bug]: minItems and maxItems are not validated
Actual Behavior
Validaton of (requests) request having json body with array ignore when minItems or maxItems are exeded.
Expected Behavior
It raise InvalidData exeption simarly as for maxlength
maximum
enum
,...
Steps to Reproduce
write test of validation different wrong values
OpenAPI Core Version
openapi-core 0.17.1, openapi-schema-validator 0.4.4, openapi-spec-validator 0.5.6
OpenAPI Core Integration
requests
Affected Area(s)
unmarshaling
References
No response
Anything else we need to know?
No response
Would you like to implement a fix?
None