Skip to content

Commit 7bbab50

Browse files
authored
Document uv support
1 parent 4a2f3db commit 7bbab50

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ _Be forewarned, this is a beta-level feature in the sense that the API exposed i
6161

6262
## What You Get
6363

64-
1. A `pyproject.toml` file, optionally with [Poetry] metadata (default), [PDM] (with `--meta=pdm`), or only [Ruff] config.
64+
1. A `pyproject.toml` file, optionally with [Poetry] metadata (default), [uv] (with `--meta=uv`), [PDM]
65+
(with `--meta=pdm`), or only [Ruff] config.
6566
2. A `README.md` you'll most definitely need to update with your project's details
6667
3. A Python module named just like the auto-generated project name (e.g. "my_api_client") which contains:
6768
1. A `client` module which will have both a `Client` class and an `AuthenticatedClient` class. You'll need these
@@ -200,7 +201,7 @@ This extension has been adopted by similar projects such as [OpenAPI Tools](http
200201
It is intended to provide user-friendly names for integer Enum members that get generated.
201202
It is critical that the length of the array matches that of the enum values.
202203

203-
```
204+
```json
204205
"Colors": {
205206
"type": "integer",
206207
"format": "int32",
@@ -218,7 +219,7 @@ It is critical that the length of the array matches that of the enum values.
218219
```
219220

220221
Results in:
221-
```
222+
```json
222223
class Color(IntEnum):
223224
RED = 0
224225
GREEN = 1
@@ -227,5 +228,6 @@ class Color(IntEnum):
227228

228229
[changelog.md]: CHANGELOG.md
229230
[poetry]: https://python-poetry.org/
231+
[uv]: https://docs.astral.sh/uv/
230232
[PDM]: https://pdm-project.org/latest/
231233
[Ruff]: https://docs.astral.sh/ruff/

0 commit comments

Comments
 (0)