This program is a simple cli command to generate from a Postman collection the OpenAPI document
- Python 3.9
- virtualenv
pip install build
launch command from the root of project
python -m build
install package in your enviroment
pip install path-to-dist-file
openapi_generator -pc 'postman collection path' -pe 'postman environment path' -o 'openapi doc path'
- Postman collection folders will become tags for the endpoint
- Path params have to be variables in a environment
- Response structure will be built from a real call to the service, so we recommend you to use on development API
- OpenAPI schemas are composed by method - postman endpoint name - response / request