Skip to content

Adding or removing 'uniqueItems' is not detected #478

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

Closed
michael-schnell opened this issue Mar 3, 2023 · 0 comments · Fixed by #758
Closed

Adding or removing 'uniqueItems' is not detected #478

michael-schnell opened this issue Mar 3, 2023 · 0 comments · Fixed by #758
Assignees
Milestone

Comments

@michael-schnell
Copy link

Adding 'uniqueItems' like is currently not detected as a change:

V1

schema:
    type: array
    items:
        type: integer

V2 (Added 'uniqueItems')

schema:
    type: array
    items:
        type: integer
    uniqueItems: true

Same with removing 'uniqueItems':

V1

schema:
    type: array
    items:
        type: integer
    uniqueItems: true

V2 (Removed'uniqueItems')

schema:
    type: array
    items:
        type: integer

(Changing 'true' to 'false' or vice versa should be treated simply as adding/removing)

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

Successfully merging a pull request may close this issue.

2 participants