Skip to content

Commit 4b1d0c4

Browse files
authored
update README for failed install of openapi2jsonschema (#2203)
* update README for failed install of openapi2jsonschema * Fix typo
1 parent 93be36f commit 4b1d0c4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

class_generator/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@ class-generator --kind Pod --add-tests
7070
uv tool install --python python3.9 openapi2jsonschema
7171
```
7272

73+
If install fail ([Issue 1455](https://github.com/astral-sh/uv/issues/1455)) try to install manually:
74+
75+
```bash
76+
git clone https://github.com/instrumenta/openapi2jsonschema
77+
cd openapi2jsonschema
78+
sed -i s/'pyyaml = "^5.1"'/'pyyaml = ">=6.0"'/g pyproject.toml
79+
uv tool install --python python3.9 .
80+
```
81+
7382
- Clone this repository
7483

7584
```bash

0 commit comments

Comments
 (0)