@yued/postman-to-openapi
v0.1.9
Published
Convert postman collection to OpenAPI spec
Downloads
2
Readme
postman-to-openapi
🛸 Convert Postman Collection v2.1/v2.0 to OpenAPI v3.0.
Or in other words, transform this specification and also this to this one
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
What I've done is
- Adjust API
- Use the examples for building the schemas using: https://github.com/Nijikokun/generate-schema
fs
removed for browser- Unsupported Console
Reconstruct test cases & do test
node scripts/gen-case.js && yarn test
License
See the LICENSE file.