Annotation Type Max
Annotation used to validate an integer input to be less than the max value.
* Example usage:
*
*
* public class UserDto {
* @Max
* private String password;
* }
*
* -
Optional Element Summary
Optional Elements
-
Element Details
-
value
int value- Default:
2147483647
-
message
String message- Default:
"Field value must be less than or equal to 2147483647"
-