Fetch and print the GraphQL schema from a GraphQL HTTP endpoint. (Can be used for Relay Modern.)
Note: Consider using
graphql-cliinstead for improved workflows.
npm install -g get-graphql-schema
Usage: get-graphql-schema [OPTIONS] ENDPOINT_URL > schema.graphqlFetch and print the GraphQL schema from a GraphQL HTTP endpointOptions:--header, -h Add a custom header , can be used multiple times--json, -j Output in JSON format--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!