-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
What happened?
Tests for REST transport use snake_case for fields by converting request payloads via convert_a2a_message_to_protobuf_json. Response conversion uses convert_protobuf_response_to_a2a_json as all the validations operate on camelCase. However this isn't done in send_streaming_message while assertions still use camelCase (i.e. here).
The proposal is to use camelCase due to:
-
v0.3.0 doesn't mention casing explicitly for REST, however in this example response payload in the REST tab is shown in camelCase.
-
v1.0 draft explicitly specifies using camelCase everywhere: 5.5. JSON Field Naming Convention.
-
SDKs already use camelCase (at lest it's the case for Java, Python and Go).
Relevant log output
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels