I want to handle all paths under a prefix, say /fixed/, with the same handler, e.g.
/fixed/
/fixed/foo
/fixed/foo/1
/fixed/bar/2
...
Path parameters capture a single path path component, is there a way to change this behavior (e.g. with a regexp)? Something like
@get("/fixed/{dynamic_path:.*}")
def handler(dynamic_path: str) -> None:
# do something with dynamic_path
...