Skip to content

[Bug]: minItems and maxItems are not validated #558

Description

@jitka

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugIndicates an issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions