UNPKG

@omnigraph/json-schema

Version:

This package generates GraphQL Schema from JSON Schema and sample JSON request and responses. You can define your root field endpoints like below in your GraphQL Config for example;

4 lines (3 loc) 186 B
import { GraphQLScalarType } from 'graphql'; export declare const GraphQLFile: GraphQLScalarType<unknown, unknown>; export declare const GraphQLVoid: GraphQLScalarType<unknown, string>;