@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;
10 lines (9 loc) • 455 B
TypeScript
import { loadGraphQLSchemaFromJSONSchemas } from './loadGraphQLSchemaFromJSONSchemas';
export default loadGraphQLSchemaFromJSONSchemas;
export { loadGraphQLSchemaFromJSONSchemas };
export * from './getComposerFromJSONSchema';
export * from './getDereferencedJSONSchemaFromOperations';
export * from './getReferencedJSONSchemaFromOperations';
export * from './getGraphQLSchemaFromDereferencedJSONSchema';
export * from './types';
export * from './bundle';