Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lifeomic/json-schema-to-graphql-types
A tool to convert JSON Schemas into GraphQL Types
https://github.com/lifeomic/json-schema-to-graphql-types
team-infra
Last synced: about 2 months ago
JSON representation
A tool to convert JSON Schemas into GraphQL Types
- Host: GitHub
- URL: https://github.com/lifeomic/json-schema-to-graphql-types
- Owner: lifeomic
- License: mit
- Created: 2018-03-06T13:39:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-16T11:00:47.000Z (3 months ago)
- Last Synced: 2024-06-19T09:12:16.678Z (3 months ago)
- Topics: team-infra
- Language: JavaScript
- Size: 1.14 MB
- Stars: 102
- Watchers: 23
- Forks: 21
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - json-schema-to-graphql-types
README
JSON Schema to GraphQL Types Converter
======================================
[![Greenkeeper badge](https://badges.greenkeeper.io/lifeomic/json-schema-to-graphql-types.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/lifeomic/json-schema-to-graphql-types.svg?branch=master)](https://travis-ci.org/lifeomic/json-schema-to-graphql-types)
[![Coverage Status](https://coveralls.io/repos/github/lifeomic/json-schema-to-graphql-types/badge.svg?branch=master)](https://coveralls.io/github/lifeomic/json-schema-to-graphql-types?branch=master)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-typesWhen 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.