Skip to content

Commit 7f0efe7

Browse files
authored
Add PyPI installation to docs (#20350)
1 parent 74044c3 commit 7f0efe7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/installation.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,22 @@ Then, **generate** a ruby client from a valid [petstore.yaml](https://raw.github
7777
openapi-generator-cli generate -i petstore.yaml -g ruby
7878
```
7979

80+
## PyPI
81+
82+
> **Platform(s)**: Linux, macOS, Windows
83+
84+
**Install** via [PyPI](https://pypi.org/) (`java` executable is needed to run):
85+
86+
```
87+
pip install openapi-generator-cli
88+
```
89+
90+
You can also install with [jdk4py](https://github.com/activeviam/jdk4py) instead of java binary. (python>=3.10 is required)
91+
92+
```
93+
pip install openapi-generator-cli[jdk4py]
94+
```
95+
8096
## Docker
8197

8298
> **Platform(s)**: Linux, macOS, Windows

0 commit comments

Comments
 (0)