Annotation Interface Minimum
An annotation to provide a hint in the OpenAPI schema that the number field has a minimum value.
The value is a string that must be parsable as a number (via
BigDecimal).
If the exclusive flag is set to false (default), the minimum value is inclusive, meaning the field must be equal to or greater than the value. If the exclusive flag is set to true, the minimum value is exclusive, meaning the field must be greater than the value.
To set a range of values, use both the Minimum and Maximum annotations.
- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
String value
-
-
-
exclusive
boolean exclusive- Default:
- false
-