Skip to content

Combine messages for minium and maximum handlers #135

@jdesrosiers

Description

@jdesrosiers

The minimum/exclusiveMinimum and maximum/exclusiveMaximum handlers can be combined.

{
  "allOf": [
    { "minimum": 5 },
    { "minimum": 7 },
    { "exclusiveMinimum": 7 }
  ]
}
  • Expected a number greater than or equal to 5
  • Expected a number greater than or equal to 7
  • Expected a number greater than 7

This can be collapsed to

  • Expected a number greater than 7

This will require combining the minimum, exclusiveMinimum, and draft-04 minimum error handlers an separately the maximum, exclusiveMaximum, and draft-04 maximum error handlers.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions