1.2.0 • Published 2 years ago
graphql-api-to-json-schema v1.2.0
graphql-api-to-json-schema
CLI to extract the schema from a GraphQL API and convert it to JSON Schema format.
Usage
graphql-api-to-json-schema GRAPHQL_API_URL >> schema.json
Installation
npm install -g graphql-api-to-json-schema
Why???
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
.