Miss any of our Open RFC calls?Watch the recordings here! »

openapi2js

1.1.2 • Public • Published

OpenAPI2js

Convert OpenApi (Swagger) 2.0 / 3.0.x JSON/YAML definition to simple Javascript API, complete with JSDOC, suitable for use with the Open Nitro SDK

Usage:

    var oa2js = require('openapi2js');
    oa2js.openAPI2js(inFilename,outFilename);

or

    var oa2js = require('openapi2js');
    var jsStr = oa2js.openAPI2js(swaggerObject);

Install

npm i openapi2js

DownloadsWeekly Downloads

8

Version

1.1.2

License

BSD-3-Clause

Unpacked Size

8.9 kB

Total Files

5

Last publish

Collaborators

  • avatar