MCPcopy Index your code
hub / github.com/fastapi/fastapi / path_example_examples

Function path_example_examples

tests/test_schema_extra_examples.py:106–112  ·  view source on GitHub ↗
(
            item_id: str = Path(
                example="item_overridden",
                examples=["item_1", "item_2"],
            ),
        )

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

PathClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…