Class GraphQLConfiguration

java.lang.Object
io.micronaut.configuration.graphql.GraphQLConfiguration
All Implemented Interfaces:
io.micronaut.core.util.Toggleable

@ConfigurationProperties("graphql") public class GraphQLConfiguration extends Object implements io.micronaut.core.util.Toggleable
Configuration properties for GraphQL.
Since:
1.0
Author:
Marcel Overdijk, James Kleeh
  • Field Details

  • Constructor Details

    • GraphQLConfiguration

      public GraphQLConfiguration()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Returns whether GraphQL is enabled.
      Specified by:
      isEnabled in interface io.micronaut.core.util.Toggleable
      Returns:
      whether GraphQL is enabled
    • getPath

      public String getPath()
      Returns the GraphQL path.
      Returns:
      the GraphQL path
    • getGraphiql

      Returns the GraphiQL configuration.
      Returns:
      the GraphiQL configuration