Skip to content

Create simple JS SDK from OpenAPI (Swagger) 2.0/3.0.x json/yaml document

License

Notifications You must be signed in to change notification settings

Mermade/openapi2js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);