You've already forked adk-python
mirror of
https://github.com/encounter/adk-python.git
synced 2026-03-30 10:57:20 -07:00
fix: path parameter extraction for complex Google API endpoints
Merge https://github.com/google/adk-python/pull/1815 fix: path parameter extraction for complex Google API endpoints - Fix GoogleApiToOpenApiConverter to handle path parameters in complex endpoints like /v1/documents/{documentId}:batchUpdate - Use Google Discovery Document 'location' field - Add comprehensive test suite for Google Docs batchUpdate functionality - Verify parameter location handling for complex endpoint patterns - Test schema validation for BatchUpdateDocumentRequest/Response COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/1815 from goldylocks87:fix-issue-1814-path-parameter-extraction af5508ec6975b1ccbc34931a0041e422ee259c16 PiperOrigin-RevId: 794301898
This commit is contained in:
@@ -393,7 +393,7 @@ class GoogleApiToOpenApiConverter:
|
||||
|
||||
param = {
|
||||
"name": param_name,
|
||||
"in": "query",
|
||||
"in": param_data.get("location", "query"),
|
||||
"description": param_data.get("description", ""),
|
||||
"required": param_data.get("required", False),
|
||||
"schema": self._convert_parameter_schema(param_data),
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user