- Install Poetry:
pip install poetry
- Install dependencies:
poetry install
- Install OpenAPI Generator (on macOS:
brew install openapi-generator
) - Run tests:
poetry run pytest
- Change
packageVersion
inopenapi-generator-config.yaml
- Run
scripts/generate.sh
.
- Generate package:
poetry build
. - Run
poetry config pypi-token.pypi YOUR_PYPI_API_TOKEN
- Upload package:
poetry publish --build
.