amplify-graphql-docs-generator
TypeScript icon, indicating that this package has built-in type declarations

2.2.4 • Public • Published

GraphQL Docs generator

GraphQL document generator takes a schema and generates all possible statements(queries, mutations and subscription) on that schema. This can act as a starting point for the users who are new to GraphQL

Installation and execution

$ npm install -g amplify-graphql-docs-generator
$ amplify-graphql-docs-generator --schema test-data/schema.json --output all-operations.graphql --language graphql

Todo:

  • [x] Add support for subscriptions
  • [x] Add type information
  • [X] Add unit tests
  • [ ] Support generating operation by downloading schema from a GraphQL server
  • [x] Support generation of separate files (queries.graphql, mutations.graphql and subscriptions.graphql)
  • [ ] Support de-duping of fragments (non inline fragments)

Readme

Keywords

Package Sidebar

Install

npm i amplify-graphql-docs-generator

Weekly Downloads

49,141

Version

2.2.4

License

Apache-2.0

Unpacked Size

82.7 kB

Total Files

73

Last publish

Collaborators

  • amzn-oss
  • elorzafe
  • aws-amplify-ops
  • kaustavghosh06