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