Package Exports
- generate-openapi
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (generate-openapi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
generate-openapi
Convert JSON document to Open API YML Specification
usage
As binary:
generate-openapi file.json type
As npm package:
npm install generate-openapi
const generateOpenapi = require('generate-openapi')
console.log(generateOpenapi({a:{b:{c:1,d:'e'},f:1}}, 'type'))