@Target(FIELD) @Retention(RUNTIME) public @interface MaxLength
A json-schema validation that requires a string field must be a shorter than a maximum character length. See the json-schema spec for more information.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Element Details

    • value

      int value