Skip to content

CLI to extract the schema from a GraphQL API and convert it to JSON Schema format.

License

Notifications You must be signed in to change notification settings

superkeyio/graphql-api-to-json-schema

Repository files navigation

graphql-api-to-json-schema npm

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.

About

CLI to extract the schema from a GraphQL API and convert it to JSON Schema format.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published