(
item_id: str = Path(
examples=["item_1", "item_2"],
),
)
| 94 | |
| 95 | @app.get("/path_examples/{item_id}") |
| 96 | def path_examples( |
| 97 | item_id: str = Path( |
| 98 | examples=["item_1", "item_2"], |
| 99 | ), |
| 100 | ): |
| 101 | return item_id |
| 102 | |
| 103 | with pytest.warns(FastAPIDeprecationWarning): |
| 104 |
nothing calls this directly
no test coverage detected
searching dependent graphs…