Add PyPI installation to docs (#20350)

This commit is contained in:
haruna 2024-12-19 15:12:36 +09:00 committed by GitHub
parent 74044c3427
commit 7f0efe74a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,6 +77,22 @@ Then, **generate** a ruby client from a valid [petstore.yaml](https://raw.github
openapi-generator-cli generate -i petstore.yaml -g ruby
```
## PyPI
> **Platform(s)**: Linux, macOS, Windows
**Install** via [PyPI](https://pypi.org/) (`java` executable is needed to run):
```
pip install openapi-generator-cli
```
You can also install with [jdk4py](https://github.com/activeviam/jdk4py) instead of java binary. (python>=3.10 is required)
```
pip install openapi-generator-cli[jdk4py]
```
## Docker
> **Platform(s)**: Linux, macOS, Windows