Imports the latest version of swagger.json
and update the respective Postman collection using Python.
- Make sure you have Python 3.10 & npm installed.
- Pull this repo.
- Create a
venv
virtual environment. - Install openapi2postmanv2 globally using
$ npm i -g openapi-to-postmanv2
command to use it in the CLI. - Install dependencies in
requirements.txt
file. - Edit your secrets in the
.env
file. - Add new environments in the
global_data.py
file. [optional] - Execute
main.py
.