Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 1.01 KB

README.md

File metadata and controls

16 lines (13 loc) · 1.01 KB

JSON Schema to GraphQL Types Converter

Greenkeeper badge Build Status Coverage Status

This tools will convert a directory of JSON Schemas into set of GraphQL types. To use it, do the following:

npm install -g @lifeomic/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.