Annotation Interface EnumTitle


@Retention(RUNTIME) @Target(FIELD) public @interface EnumTitle
Annotation to provide a title for a given enum value. This will be used by JSON schema generation from a type to set the CREST API Descriptor options/enum_titles property.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The title of the enum value.
  • Element Details

    • value

      String value
      The title of the enum value.