Generate schema.json during build step prior to starting the server

64 views
Skip to first unread message

Raphael Hsieh

unread,
Feb 23, 2017, 6:57:10 PM2/23/17
to graphql-java
Is there a way to generate my projects schema.json prior to starting the server via only Java?

I've seen that I can use an introspection(http://graphql.org/learn/introspection/) query to generate the schema.json, however that requires the graphql server to have been started first, so that I can run a query against it. Is there a way to generate the schema.json without needing to do this ?

Reply all
Reply to author
Forward
0 new messages