OpenAPITools / openapi-diff

Utility for comparing two OpenAPI specifications.
Apache License 2.0
784 stars 153 forks source link

Changes in 'minLength' are not detected (wheras 'maxLength' is detected) #481

Closed michael-schnell closed 1 year ago

michael-schnell commented 1 year ago

Adding or changing or removing 'minLength' is not detected a a change.

V1

schema:
   type: string

**V2 (added 'minLength'):

schema:
   type: string
   minLength: 1

Same with changing/removing the field.

joschi commented 1 year ago

Duplicate of https://github.com/OpenAPITools/openapi-diff/issues/461