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.
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
After installation openapi-generator
command will be available in your virtual environment or globally
depending on your installation
To check the version, for example. Type the following command
# this will print the correct version number
openapi-generator version
Please refer to the official openapi-generator docs for more information about the possible arguments and a detailed usage manual of the command line interface.
Please leave a star.
Please raise an issue, happy to hear from you :)