Add schema printer endpoint

This commit auto-configures a web endpoint that prints the GraphQL
schema of the application.

Closes gh-13
This commit is contained in:
Brian Clozel
2021-05-11 11:54:17 +02:00
parent ee51f26755
commit 2d97e326e2
11 changed files with 137 additions and 40 deletions

View File

@@ -1 +1,3 @@
management.endpoints.web.exposure.include=health,metrics,info
management.endpoints.web.exposure.include=health,metrics,info
spring.graphql.schema.printer.enabled=true