Package org.eclipse.microprofile.graphql
Annotation Interface Input
Maps the annotated class to a GraphQL input type.
For example, a user might annotate a class as such:
For example, a user might annotate a class as such:
@Input("StarshipInput") @Description("Input type for a starship") public class Starship { private String id; private String name; private float length; // getters/setters... }Schema generation of this would result in a stanza such as:
# Input type for a starship input StarshipInput { id: String name: String length: Float }
-
Optional Element Summary
-
Element Details
-
value
String value- Returns:
- the name of the GraphQL input type.
- Default:
- ""
-