org.eclipse.microprofile.graphql

## Annotation Type GraphQLApi

    @Target(value=TYPE)
     @Retention(value=RUNTIME)
     @Documented
    public @interface GraphQLApi

Marks a class as a GraphQL Endpoint.
For example:

      @GraphQLApi
      @RequestScoped
     public class MembershipGraphQLApi {

          @Inject
         private MembershipService membershipService;

          @Query("memberships")
         public List <Membership > getAllMemberships() {
             return getAllMemberships(Optional.empty());
         }

         // Other GraphQL queries and mutations
     }