Skip to content

Commit 3745221

Browse files
xuanyang15copybara-github
authored andcommitted
ADK changes
PiperOrigin-RevId: 810223422
1 parent aef1ee9 commit 3745221

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/google/adk/tools/openapi_tool/openapi_spec_parser/operation_parser.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ def _dedupe_param_names(self):
164164
def _process_return_value(self) -> Parameter:
165165
"""Returns a Parameter object representing the return type."""
166166
responses = self._operation.responses or {}
167-
# Default to Any if no 2xx response or if schema is missing
168-
return_schema = Schema(type='Any')
167+
# Default to empty schema if no 2xx response or if schema is missing
168+
return_schema = Schema()
169169

170170
# Take the 20x response with the smallest response code.
171171
valid_codes = list(

0 commit comments

Comments
 (0)