From 9b5aa071d088348574ecdd92cbefd0e0edc1df38 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 17 Jul 2026 16:43:06 +0000 Subject: [PATCH] docs: fix stale generator comment after removing mcp body-path fallback Co-Authored-By: Claude Opus 4.8 --- backend/generate_mcp_endpoints_tools/generate_mcp_tools.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/generate_mcp_endpoints_tools/generate_mcp_tools.py b/backend/generate_mcp_endpoints_tools/generate_mcp_tools.py index d72e6afb9d..20ea1a0a6c 100644 --- a/backend/generate_mcp_endpoints_tools/generate_mcp_tools.py +++ b/backend/generate_mcp_endpoints_tools/generate_mcp_tools.py @@ -200,8 +200,7 @@ def extract_separate_schemas(parameters: List[Dict[str, Any]], request_body: Opt # A body field colliding with a same-named path parameter (`path` on the update # endpoints) holds the new value and differs only when moving the item, so it must - # stay optional: `same_named_path_param_value` (windmill-api/src/mcp/utils.rs) - # fills it from the path parameter when the caller omits it. + # stay optional; the server defaults it from the URL path when the caller omits it. if field in path_keys and field in body_keys and body_schema: body_name = field + '__body' if 'required' in body_schema: