Comments (2)
You can use new SchemaPrinter(options).print(schema)
to get it. You can of course also expose it on some URL if you so choose.
I'm about to release v2.0.0, which is based on Spring GraphQL, and that has a /schema
endpoint for this out of the box.
from graphql-spqr-spring-boot-starter.
Beautiful!
I had written code to print it myself but this is much better.
Looking forward to v2!
Thank you!
from graphql-spqr-spring-boot-starter.
Related Issues (20)
- Upgrade to Spring Boot v2.7.6 and SPQR v0.12.1 (graphql-java v20.0)
- Plan to update for Spring Boot 3 HOT 5
- Upgrade to 0.0.7 with springboot 2.7.6 Failing - Java Project HOT 1
- Disable introspection HOT 1
- Upgrade to graphql-spqr-spring-boot-starter:0.0.5+ and spring-boot v2.7.x fails with invalid schema issue HOT 1
- How to enable logging of exceptions
- Description for mutation parameters are empty in graphql playground HOT 3
- Spring Boot 3 Support? HOT 12
- failed to request http://localhost:8080/graphql caused by graphql.AssertException: query can't be null HOT 1
- Error starting v1.0.0 - ClassNotFoundException - SimplePerformantInstrumentation HOT 2
- How to test with GraphQlTester?
- GraphiQL 3.x integration in project HOT 3
- Failed with Spring Boot 3.2.0-RC2 HOT 5
- starter 1.0.1 - Duplicate type mappers of type .JsonArrayAdapter HOT 3
- Serialized OffsetDateTime has no time zone offset HOT 3
- IllegalStateException: At least one top-level operation source must be registered HOT 1
- Is graphql-spqr-spring-boot-starter 1.0.1 compatibile with spring boot 3.2.4? HOT 1
- PerConnectionApolloHandler sends wrong sub-protocol HOT 2
- @GraphQLApi annotated Spring Data Repository results in error creating GraphQLSchemaGenerator bean on startup
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-spqr-spring-boot-starter.