diff --git a/fastapi/models/fastapi_endpoint.py b/fastapi/models/fastapi_endpoint.py index 018ff923..22b85243 100644 --- a/fastapi/models/fastapi_endpoint.py +++ b/fastapi/models/fastapi_endpoint.py @@ -173,7 +173,7 @@ def _get_routing_info(self): return { "type": "fastapi", "auth": "public", - "methods": ["GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD"], + "methods": ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "HEAD"], "routes": [ f"{self.root_path}/", f"{self.root_path}/",