Remove configuration key for GraphQL schema path
Currently, the GraphQL schema is exposed under /graphql/schema (so relative to the main graphql endpoint) and is configurable with the `spring.graphql.schema.printer.path` configuration property. We think we should make the schema location more consistent to help tools and various Gateway products. Also, we don't see right now a strong use case for such a configuration property. This commit removes the configuration property and sets the schema location under `/graphql/schema`(`/graphql` being the main graphql path configured by the application). Closes gh-79
This commit is contained in:
@@ -183,7 +183,8 @@ schema locations to check as follows:
|
||||
spring.graphql.schema.locations=classpath:graphql/
|
||||
----
|
||||
|
||||
The GraphQL schema can be viewed over HTTP at "/graphql/schema", if enabled:
|
||||
The GraphQL schema can be viewed over HTTP at "/graphql/schema", relative to the main graphql endpoint path.
|
||||
It is disabled by default:
|
||||
|
||||
[source,properties,indent=0,subs="verbatim,quotes"]
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user