lifeomic / json-schema-to-graphql-types

A tool to convert JSON Schemas into GraphQL Types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A tool to convert JSON Schemas into GraphQL Types

License:MIT License


Languages

Language:JavaScript 100.0%