Skip to content

cristaloleg/gql2yml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Languages