Class SdlRouteConfiguration
-
- All Implemented Interfaces:
@Configuration()@Import(value = {GraphQLSchemaConfiguration.class}) public final class SdlRouteConfiguration
Configuration to expose the SDL of the schema on on specific HTTP path
-
-
Constructor Summary
Constructors Constructor Description SdlRouteConfiguration(GraphQLConfigurationProperties config, GraphQLSchema schema)
-
Method Summary
Modifier and Type Method Description final RouterFunction<ServerResponse>
sdlRoute()
-
-
Constructor Detail
-
SdlRouteConfiguration
SdlRouteConfiguration(GraphQLConfigurationProperties config, GraphQLSchema schema)
-
-
Method Detail
-
sdlRoute
@Bean()@ConditionalOnProperty(value = {"graphql.sdl.enabled"}, havingValue = "true", matchIfMissing = true) final RouterFunction<ServerResponse> sdlRoute()
-
-
-
-