Package Exports
- postman-to-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 (postman-to-openapi) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
postman-to-openapi
🛸 Convert postman collection to OpenAPI specification.
Or in other words, transform this specification to this one
Features
Postman Collection v2.1
OpenApi 3.0
POST request with JSON body.
Allow extract the api version from a collection general
variable
.Customize general API information.
Transform query and headers parameters.
Automatic infer types from query and headers parameters.
Support Json and Text body formats.
Global Authentication and Authorization parse
- Basic
- Bearer
Global Authentication and Authorization by configuration
Development
This project use for development:
- Node.js v10.15.3 or higher
- Standard JS rules to maintain clean code.
- Use Conventional Commit for commit messages.
- Test with mocha.js.
Use the scripts in package.json
:
test:unit
: Run mocha unit test.test
: Executetest:lint
plus code coverage.lint
: Execute standard lint to review errors in code.lint:fix
: Execute standard lint and automatically fix errors.changelog
: Update changelog automatically.
Husky is configured to avoid push incorrect content to git.
Tags
Nodejs
Javascript
OpenAPI
Postman
Newman
Collection
Transform
Convert
License
See the LICENSE file.