in azurefunctions-extensions-http-fastapi/azurefunctions/extensions/http/fastapi/web.py [0:0]
def route(self, func: Callable):
# Apply the api_route decorator
decorated_function = self.web_app.api_route(
"/{path:path}",
methods=[
"GET",
"POST",
"PUT",
"DELETE",
"OPTIONS",
"HEAD",
"PATCH",
"TRACE",
],
)(func)
return decorated_function