OpenAPITools / openapi-diff

Utility for comparing two OpenAPI specifications.
Apache License 2.0
811 stars 154 forks source link

Changes on "minProperties" / "maxProperties" are not detected #479

Open michael-schnell opened 1 year ago

michael-schnell commented 1 year ago

Adding ,removing or changing "minProperties" and "maxProperies" is not detected.

V1:

schema:
    title: Foo
    type: object
    additionalProperties:
        title: Bar
        type: string

V2 (Added 'maxProperties'):

schema:
    title: Foo
    type: object
    maxProperties: 2
    additionalProperties:
        title: Bar
        type: string

Same with removing or changing the value.