MCPcopy
hub / github.com/fastapi/fastapi / path_convertor

Function path_convertor

tests/test_starlette_urlconvertors.py:18–19  ·  view source on GitHub ↗
(param: str = Path())

Source from the content-addressed store, hash-verified

16
17@app.get("/path/{param:path}")
18def path_convertor(param: str = Path()):
19 return {"path": param}
20
21
22@app.get("/query/")

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…