@Retention(RUNTIME) @Target(TYPE) public @interface GraphQLEnumType
Indicates that the annotated java class represents a GraphQL enumeration, and gives the GraphQL name for this enum. The java name may be different from the GraphQL one, if the GraphQL name is a reserved java keyword.
Author:
etienne-sf
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the enum that is represented by the annotated java class, as defined in the GraphQL schema.
  • Element Details

    • value

      String value
      The name of the enum that is represented by the annotated java class, as defined in the GraphQL schema.