Annotation Type 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
      String value
      The title of the enum value.
    • Element Detail

      • value

        String value
        The title of the enum value.