-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
As per the specification, uniqueItems
defaults to false (see https://www.learnjsonschema.com/draft6/validation/uniqueitems/)
However, comparing two document specifications only different in the fact that the first omit uniqueItems
(implicitly false) while the second include the explicit uniqueItems: false
statement returns the following kind of warning:
{
"Severity": "Warning",
"Message": "The new version has a different 'uniqueItems' value than the previous one.",
"OldJsonRef": "#/paths/~1test/post/requestBody/content/application~1json/schema/uniqueItems",
"NewJsonRef": "#/paths/~1test/post/requestBody/content/application~1json/schema/uniqueItems",
"OldJsonPath": "#/paths/~1test/post/requestBody/content/application~1json/schema/uniqueItems",
"NewJsonPath": "#/paths/~1test/post/requestBody/content/application~1json/schema/uniqueItems",
"Id": 1036,
"Code": "ConstraintChanged",
"Mode": "Update"
}
I would expect that no change is returned in this case
Metadata
Metadata
Assignees
Labels
No labels