generate-openapi
v1.0.1
Published
Convert JSON object to Open API Speccification
Downloads
1,176
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'))