From c4f7a1bc561a8776f927ad5ca63c58fb57011f98 Mon Sep 17 00:00:00 2001 From: andrea Date: Wed, 17 Apr 2024 20:06:46 +0200 Subject: [PATCH] [FIX] fastapi: add "PATCH" method --- fastapi/models/fastapi_endpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi/models/fastapi_endpoint.py b/fastapi/models/fastapi_endpoint.py index 018ff9239..22b852437 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}/",