Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 443 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 443 Bytes

gql2yml

GraphQL to YAML/JSON - convert your GraphQL schema to YAML/JSON.

# install gql2yaml
$ go install github.com/cristaloleg/gql2yml

# convert schema
$ gql2yml -schema=server.graphql -result=schema.yaml

# see the result
$ cat schema.yaml

# and also json
$ gql2yml -schema=server.graphql -result=schema.json -json

# or many files
$ gql2yml -schema=schema.graphql -schema=legacy.graphql

License

MIT License.