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;

52 lines (51 loc) 1.35 kB
{ "name": "@omnigraph/json-schema", "version": "1.0.0-alpha-20220804093904-8e2e41f7f", "sideEffects": false, "peerDependencies": { "@graphql-mesh/types": "0.79.0-alpha-20220804093904-8e2e41f7f", "@graphql-mesh/utils": "1.0.0-alpha-20220804093904-8e2e41f7f", "graphql": "*" }, "dependencies": { "@graphql-mesh/cross-helpers": "0.2.0", "@graphql-mesh/string-interpolation": "0.3.0", "@graphql-tools/utils": "8.9.0", "@json-schema-tools/meta-schema": "1.6.19", "@whatwg-node/fetch": "^0.2.7", "ajv": "8.11.0", "ajv-formats": "2.1.1", "graphql-compose": "9.0.8", "graphql-scalars": "1.17.0", "json-machete": "1.0.0-alpha-20220804093904-8e2e41f7f", "lodash.set": "4.3.2", "pascal-case": "3.1.2", "qs": "6.11.0", "to-json-schema": "0.2.5", "tslib": "^2.4.0", "url-join": "4.0.1" }, "repository": { "type": "git", "url": "Urigo/graphql-mesh", "directory": "packages/loaders/json-schema" }, "license": "MIT", "main": "index.js", "module": "index.mjs", "typings": "index.d.ts", "typescript": { "definition": "index.d.ts" }, "exports": { ".": { "require": "./index.js", "import": "./index.mjs" }, "./*": { "require": "./*.js", "import": "./*.mjs" }, "./package.json": "./package.json" } }