CLI to extract the schema from a GraphQL API and convert it to JSON Schema format.
graphql-api-to-json-schema GRAPHQL_API_URL >> schema.json
npm install -g graphql-api-to-json-schema
I couldn't find a GraphQL schema to JSON schema converter for Python so I hacked a CLI together using oclif
and graphql-to-json-schema
.