@@ -82,19 +82,6 @@ Set the Kotlin version in your `<properties>` section
8282
8383See our new [ Documentation] ( https://www.graphql-java-kickstart.com/spring-boot/ ) .
8484
85- Repository contains:
86-
87- * ` graphql-spring-boot-starter ` to turn your boot application into GraphQL server (
88- see [ graphql-java-servlet] ( https://github.com/graphql-java-kickstart/graphql-java-servlet ) )
89- * ` altair-spring-boot-starter ` to embed ` Altair ` tool for schema introspection and query debugging (
90- see [ altair] ( https://github.com/imolorhe/altair ) )
91- * ` graphiql-spring-boot-starter ` to embed ` GraphiQL ` tool for schema introspection and query
92- debugging (see [ graphiql] ( https://github.com/graphql/graphiql ) )
93- * ` playground-spring-boot-starter ` to embed ` GraphQL Playground ` tool for schema introspection and
94- query debugging (see [ GraphQL Playground] ( https://github.com/prisma/graphql-playground ) )
95- * ` voyager-spring-boot-starter ` to embed ` Voyager ` tool for visually explore GraphQL APIs as an
96- interactive graph (see [ voyger] ( https://github.com/APIs-guru/graphql-voyager ) )
97-
9885## Requirements and Downloads
9986
10087Requirements:
@@ -112,18 +99,6 @@ repositories {
11299dependencies {
113100 implementation 'com.graphql-java-kickstart:graphql-spring-boot-starter:12.0.0'
114101
115- // to embed Altair tool
116- runtimeOnly 'com.graphql-java-kickstart:altair-spring-boot-starter:12.0.0'
117-
118- // to embed GraphiQL tool
119- runtimeOnly 'com.graphql-java-kickstart:graphiql-spring-boot-starter:12.0.0'
120-
121- // to embed GraphQL Playground tool
122- runtimeOnly 'com.graphql-java-kickstart:playground-spring-boot-starter:12.0.0'
123-
124- // to embed Voyager tool
125- runtimeOnly 'com.graphql-java-kickstart:voyager-spring-boot-starter:12.0.0'
126-
127102 // testing facilities
128103 testImplementation 'com.graphql-java-kickstart:graphql-spring-boot-starter-test:12.0.0'
129104}
@@ -132,46 +107,13 @@ dependencies {
132107Maven:
133108
134109``` xml
135-
136110<dependency >
137111 <groupId >com.graphql-java-kickstart</groupId >
138112 <artifactId >graphql-spring-boot-starter</artifactId >
139113 <version >12.0.0</version >
140114</dependency >
141115
142- <!-- to embed Altair tool -->
143- <dependency >
144- <groupId >com.graphql-java-kickstart</groupId >
145- <artifactId >altair-spring-boot-starter</artifactId >
146- <version >12.0.0</version >
147- <scope >runtime</scope >
148- </dependency >
149-
150- <!-- to embed GraphiQL tool -->
151- <dependency >
152- <groupId >com.graphql-java-kickstart</groupId >
153- <artifactId >graphiql-spring-boot-starter</artifactId >
154- <version >12.0.0</version >
155- <scope >runtime</scope >
156- </dependency >
157-
158- <!-- to embed GraphQL Playground tool -->
159- <dependency >
160- <groupId >com.graphql-java-kickstart</groupId >
161- <artifactId >playground-spring-boot-starter</artifactId >
162- <version >12.0.0</version >
163- <scope >runtime</scope >
164- </dependency >
165-
166- <!-- to embed Voyager tool -->
167- <dependency >
168- <groupId >com.graphql-java-kickstart</groupId >
169- <artifactId >voyager-spring-boot-starter</artifactId >
170- <version >12.0.0</version >
171- <scope >runtime</scope >
172- </dependency >
173-
174- <!-- testing facilities -->
116+ <!-- testing facilities -->
175117<dependency >
176118<groupId >com.graphql-java-kickstart</groupId >
177119<artifactId >graphql-spring-boot-starter-test</artifactId >
@@ -184,7 +126,6 @@ Maven:
184126### Snapshots
185127
186128``` xml
187-
188129<repositories >
189130 <repository >
190131 <id >osshr-snapshots</id >
@@ -243,8 +184,8 @@ to `false` to disable it.
243184
244185# Enable Graph*i*QL
245186
246- Graph*i*QL becomes accessible at the root `/graphiql` if ` graphiql-spring-boot-starter` is added as
247- a dependency to a boot application .
187+ Graph*i*QL becomes accessible at the root `/graphiql` if the `graphql. graphiql.enabled` property
188+ is true .
248189
249190Note that GraphQL server must be available at `/graphql/*` context to be discovered by Graph*i*QL.
250191
@@ -290,8 +231,7 @@ the `graphiql.headers` group.
290231
291232# Enable Altair
292233
293- Altair becomes accessible at the root `/altair` if `altair-spring-boot-starter` is added as a
294- dependency to a boot application.
234+ Altair becomes accessible at the root `/altair` if the `graphql.altair.enabled` property is true.
295235
296236Note that GraphQL server must be available at `/graphql/*` context to be discovered by Altair.
297237
@@ -336,8 +276,7 @@ the `graphql.altair.resources` group to set the classpath resources that should
336276# Enable GraphQL Playground
337277
338278GraphQL Playground becomes accessible at root `/playground` (or as configured
339- in `graphql.playground.mapping`)
340- if `playground-spring-boot-starter` is added as a dependency to a boot application.
279+ in `graphql.playground.mapping`) if the `graphql.playground.enabled` property is true.
341280
342281It uses an embedded `GraphQL Playground React`, in accordance to
343282the [official guide](https://github.com/prisma/graphql-playground#as-html-page), using the 'minimum
@@ -443,7 +382,7 @@ for `query`, JSON for `variables` and `responses`).
443382# Enable GraphQL Voyager
444383
445384**GraphQL Voyager** becomes accessible at root `/voyager` (or as configured in `voyager.mapping`)
446- if ` voyager-spring-boot-starter` is added as a dependency to a boot application .
385+ if the `graphql. voyager.enabled` property is true .
447386
448387Available Spring Boot configuration parameters (either `application.yml`
449388or `application.properties`) :
@@ -529,9 +468,8 @@ the classpath. Use the `schemaLocationPattern` property to customize this patter
529468
530469https://github.com/Enigmatis/graphql-java-annotations
531470
532- The GraphQL Annotations library is used instead of GraphQL Java Tools if
533- the `graphql-spring-boot-starter`
534- dependency is replaced by `graphql-kickstart-spring-boot-starter-graphql-annotations`.
471+ To use GraphQL Annotations library instead of GraphQL Java Tools, set the `graphql.schema-strategy`
472+ property to `annotations`.
535473
536474The schema will be built using the GraphQL Annotations library in a code-first approach - instead of
537475writing it manually, the schema will be constructed based on the Java code. Please see the
@@ -679,8 +617,7 @@ the [Code of Conduct](http://contributor-covenant.org/version/1/3/0/).
679617
680618# Licenses
681619
682- ` graphql-spring-boot-starter` , `altair-spring-boot-starter`, `graphiql-spring-boot-starter`
683- and `voyager-spring-boot-starter` are licensed under the MIT License. See [LICENSE](LICENSE.md) for
620+ ` graphql-spring-boot-starter` is licensed under the MIT License. See [LICENSE](LICENSE.md) for
684621details.
685622
686623[graphql-java License](https://github.com/andimarek/graphql-java/blob/master/LICENSE.md)
0 commit comments