UNPKG

json-schema-for-openapi

Version:

Converts a regular JSON Schema to a compatible OpenAPI 3.0.X Schema Object

40 lines (39 loc) 996 B
{ "name": "json-schema-for-openapi", "version": "0.5.0", "description": "Converts a regular JSON Schema to a compatible OpenAPI 3.0.X Schema Object", "keywords": [ "json", "json-schema", "openAPI", "openAPI-v3" ], "main": "index.js", "scripts": { "test": "mocha --config './test/.mocharc.js'" }, "author": { "name": "Jared Evans" }, "repository": { "type": "git", "url": "https://github.com/JaredCE/json-schema-to-openAPI-schema-object.git" }, "bugs": { "url": "https://github.com/JaredCE/json-schema-to-openAPI-schema-object/issues" }, "license": "Apache-2.0", "devDependencies": { "@apidevtools/json-schema-ref-parser": "^9.1.0", "chai": "^4.3.10", "mocha": "^10.2.0", "node-fetch": "^2.6.7", "oas-validator": "^5.0.8", "sinon": "^16.1.0" }, "dependencies": { "json-schema-traverse": "^1.0.0", "lodash.clonedeep": "^4.5.0", "uuid": "^9.0.1" } }