Name: get-graphql-schema
Owner: Prisma
Description: Fetch and print the GraphQL schema from a GraphQL HTTP endpoint. (Can be used for Relay Modern.)
Created: 2017-02-02 17:17:17.0
Updated: 2018-05-24 13:09:22.0
Pushed: 2018-05-21 14:18:57.0
Size: 9
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Fetch and print the GraphQL schema from a GraphQL HTTP endpoint. (Can be used for Relay Modern.)
Note: Consider using
graphql-cli
instead for improved workflows.
install -g get-graphql-schema
age: get-graphql-schema [OPTIONS] ENDPOINT_URL > schema.graphql
tch and print the GraphQL schema from a GraphQL HTTP endpoint
utputs schema in IDL syntax by default)
tions:
--header, -h Add a custom header (ex. 'X-API-KEY=ABC123'), can be used multiple times
--json, -j Output in JSON format (based on introspection query)
--version, -v Print version of get-graphql-schema
Join our Slack community if you run into issues or have questions. We love talking to you!