ADK changes

PiperOrigin-RevId: 810223422
This commit is contained in:
Xuan Yang
2025-09-22 17:57:10 -07:00
committed by Copybara-Service
parent aef1ee97a5
commit 374522197f
@@ -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(