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 ace4746..a7bed0f 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 @@ -84,7 +84,7 @@ class OperationParser: description if not schema.description else schema.description ) # param.required can be None - required = param.required if param.required else False + required = param.required if param.required is not None else False self.params.append( ApiParameter(