io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLRuntimeConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-smallrye-graphql Show documentation
Show all versions of quarkus-smallrye-graphql Show documentation
Create GraphQL Endpoints using the code-first approach from MicroProfile GraphQL
package io.quarkus.smallrye.graphql.runtime;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;
@ConfigRoot(name = "smallrye-graphql", phase = ConfigPhase.RUN_TIME)
public class SmallRyeGraphQLRuntimeConfig {
/**
* If GraphQL UI should be enabled. By default, GraphQL UI is enabled if it is included (see {@code always-include}).
*/
@ConfigItem(name = "ui.enable", defaultValue = "true")
boolean enable;
}