@ConditionalOnProperty(value = ["graphglue.graphiql.enabled"], havingValue = "true", matchIfMissing = true)
@Configuration
Configuration for exposing the GraphiQL on a specific HTTP path
Parameters
config
GraphQL Kotlin config to obtain endpoints
graphglueConfig
used to configure the endpoint of the GraphiQL instance
graphiQLHtml
the HTML template to serve
contextPath
base path to build endpoint URLs
Constructors
Link copied to clipboard
constructor(config: GraphQLConfigurationProperties, graphglueConfig: GraphglueConfigurationProperties, @Value(value = "classpath:/graphiql.html") graphiQLHtml: Resource, @Value(value = "${spring.webflux.base-path:#{null}}") contextPath: String?)