https://github.com/cristaloleg/gql2yml
Convert your GraphQL schema to YAML and JSON
https://github.com/cristaloleg/gql2yml
convertion go golang graphql graphql-schemas json yaml
Last synced: about 2 months ago
JSON representation
Convert your GraphQL schema to YAML and JSON
- Host: GitHub
- URL: https://github.com/cristaloleg/gql2yml
- Owner: cristaloleg
- License: mit
- Created: 2021-08-19T15:17:51.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-19T16:23:54.000Z (almost 5 years ago)
- Last Synced: 2025-12-08T01:08:47.096Z (7 months ago)
- Topics: convertion, go, golang, graphql, graphql-schemas, json, yaml
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gql2yml
GraphQL to YAML/JSON - convert your GraphQL schema to YAML/JSON.
```sh
# 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](LICENSE).