belgif / rest-problem-java

Java library for RFC 9457 Problems with support for standard problem types of the Belgif REST guide (https://www.belgif.be/specification/rest/api-guide/#error-handling)
https://belgif.github.io/rest-problem-java/
Apache License 2.0
3 stars 0 forks source link

Add range checks to RequestValidator #13

Closed jpraet closed 6 months ago

jpraet commented 6 months ago

urn:problem-type:cbss:input-validation:outOfRange

Sometimes minimum and maximum constraints are dynamic, and cannot be defined in the openapi.

e.g. for pagination when requesting a page beyond the last one