https://github.com/openapitools/openapi-generator-pip
pip installer for OpenAPI Generator
https://github.com/openapitools/openapi-generator-pip
Last synced: 9 months ago
JSON representation
pip installer for OpenAPI Generator
- Host: GitHub
- URL: https://github.com/openapitools/openapi-generator-pip
- Owner: OpenAPITools
- License: apache-2.0
- Created: 2019-11-02T10:14:49.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-29T13:01:54.000Z (10 months ago)
- Last Synced: 2025-04-28T13:08:40.329Z (9 months ago)
- Language: Python
- Size: 113 KB
- Stars: 22
- Watchers: 6
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenAPI 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 )
You can install the package either in a virtual environment or globally.
```sh
# 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 `java` binary. (`python>=3.10` is required)
```sh
pip install openapi-generator-cli[jdk4py]
```
After installation `openapi-generator-cli` command will be available in your virtual environment or globally depending on your installation.
To check the version, for example. Type the following command
```sh
# this will print the correct version number
openapi-generator-cli version
```
## Further Documentation
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.
## Like the package?
Please leave a star.
## Have suggestions or feedback?
Please raise an issue, happy to hear from you :)
[OpenAPITools/openapi-generator]:
[maven repository]:
[`jdk4py`]:
[official openapi-generator docs]: