Skip to content

Commit 29e5ad3

Browse files
committed
feat: docs and demo
1 parent 7cc8da3 commit 29e5ad3

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
`openapi-python` generates typed Python API clients from OpenAPI specs, with a developer-friendly and ergonomic string-literal-based interface strongly inspired by [openapi-typescript](https://openapi-ts.dev/).
44

5+
![openapi-python demo](media/demo.jpg)
6+
57
## Installation
68

79
```bash

media/demo.jpg

148 KB
Loading

openapi_python/generator/normalize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ def _bucket_type(
516516
{
517517
"type": "object",
518518
"properties": bucket.props,
519-
"required": bucket.required,
519+
"required": list(bucket.required),
520520
},
521521
hint,
522522
)

0 commit comments

Comments
 (0)