-
-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
The messages produced by the maxProperties and minProperties handlers can be collapsed.
{
"allOf": [
{ "maxProperties": 2 },
{ "maxProperties": 3 }
]
}This produces multiple messages that could be combined
- Expected an object with no more than 2 properties
- Expected an object with no more than 3 properties
This can be collapsed to
- Expected an object with no more than 2 properties
No handlers need to be combined for this one, but the maxProperties and minProperties handlers will need to be updated to track the lowest/highest number of properties allowed/required so it produces only one message.
Metadata
Metadata
Assignees
Labels
No labels