CLI for openapi generator
Actively maintained. Last release 3 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install openapi-generator-cliOpenAPI Generator in Package Installer for Python (PIP)
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (both 2.0 and 3.0 are supported). Please see OpenAPITools/openapi-generator
This project checks the maven repository once a day for a new version and will publish this new version automatically as a python package.
Installation
You must have the java binary executable available on your PATH for this to work. (JDK 11 is the minimal version supported. To install OpenJDK, please visit https://adoptium.net/)
You can install the package either in a virtual environment or globally.
# install the latest version of "openapi-generator-cli"
pip install openapi-generator-cli
# install a specific version of "openapi-generator-cli"
pip install openapi-generator-cli==4.3.1
You can also install with jdk4py instead of binary.