postman-to-openapi
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.