From 374522197fa6843f786bfd12d17ce0fc20461dfd Mon Sep 17 00:00:00 2001 From: Xuan Yang Date: Mon, 22 Sep 2025 17:57:10 -0700 Subject: [PATCH] ADK changes PiperOrigin-RevId: 810223422 --- .../openapi_tool/openapi_spec_parser/operation_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/google/adk/tools/openapi_tool/openapi_spec_parser/operation_parser.py b/src/google/adk/tools/openapi_tool/openapi_spec_parser/operation_parser.py index f7a577af..06d692a2 100644 --- a/src/google/adk/tools/openapi_tool/openapi_spec_parser/operation_parser.py +++ b/src/google/adk/tools/openapi_tool/openapi_spec_parser/operation_parser.py @@ -164,8 +164,8 @@ class OperationParser: def _process_return_value(self) -> Parameter: """Returns a Parameter object representing the return type.""" responses = self._operation.responses or {} - # Default to Any if no 2xx response or if schema is missing - return_schema = Schema(type='Any') + # Default to empty schema if no 2xx response or if schema is missing + return_schema = Schema() # Take the 20x response with the smallest response code. valid_codes = list(