I have added pom dependency in the spring boot application for graphiql playground with the "graphiql-spring-boot-starter-5.0.2.jar" dependency.
Now I would like to disable the playground for the production environment.
And have tried with spring boot applications as below, but none of these options working to disable the GraphiQL endpoint.
- graphiql.enabled= false
- dgs.graphql.graphiql.enabled=false
Could you please suggest how we could disable GraphiQL?