Commit d7ae3f1
fix: Correct JSON format for SecurityScheme and Security in test data
Fixed AgentCard JSON test payload to use proper protobuf JSON format:
- Changed SecurityScheme from flat `{"scheme": "openIdConnect", ...}` to oneof wrapper format `{"openIdConnectSecurityScheme": {...}}`
- Changed Security from flat `{"google": [...]}` to proper structure `{"schemes": {"google": {"list": [...]}}}`
This aligns with the protobuf message definitions where SecurityScheme uses a oneof field and Security uses a map<string, StringList>.
Fixes A2ACardResolverTest failures.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent a31ab29 commit d7ae3f1
File tree
1 file changed
+8
-6
lines changed- http-client/src/test/java/io/a2a/client/http
1 file changed
+8
-6
lines changedLines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
106 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
107 | 109 | | |
108 | 110 | | |
109 | | - | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| |||
0 commit comments