(
item_id: str = Path(
example="item_overridden",
examples=["item_1", "item_2"],
),
)
| 104 | |
| 105 | @app.get("/path_example_examples/{item_id}") |
| 106 | def path_example_examples( |
| 107 | item_id: str = Path( |
| 108 | example="item_overridden", |
| 109 | examples=["item_1", "item_2"], |
| 110 | ), |
| 111 | ): |
| 112 | return item_id |
| 113 | |
| 114 | with pytest.warns(FastAPIDeprecationWarning): |
| 115 |
nothing calls this directly
no test coverage detected
searching dependent graphs…