Package Exports
- swagger2openapi
- swagger2openapi/package.json
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 (swagger2openapi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
swagger2openapi
Convert Swagger 2.0 definitions into OpenApi 3.0.x
Currently tracking v3.0.0-RC0
Usage:
Options:
-h, --help Show help [boolean]
-o, --outfile the output file to write to [string]
-y, --yaml read and write YAML, default JSON [boolean]
or use the API:
var options = {};
var openapi = converter.convert(swagger, options);