json-schema-to-graphql-types
v1.0.0
Published
A utility to convert JSON Schema types into GraphQL types
Downloads
32
Readme
JSON Schema to GraphQL Types Converter
This tools will convert a directory of JSON Schemas into set of GraphQL types. To use it, do the following:
npm install -g json-schema-to-graphql-types
convert-json-schemas-to-graphql-types <some-dir-with-json-schemas>
When that is run, the tool will output a list of GraphQL types that match the types in the JSON schemas. After generating the types, you'll need to create Query and Mutation types to complete you schema and then add resolvers as needed.