prismagraphql/get-graphql-schema

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

Homepage:

Size: 9

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

get-graphql-schema npm version

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
install -g get-graphql-schema
Usage
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
Help & Community Slack Status

Join our Slack community if you run into issues or have questions. We love talking to you!


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.