Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ default <T> java.util.List<T> emptyListToNull(java.util.List<T> list) {
/**
* Converts domain Map to protobuf Struct (generic conversion).
* <p>
* Used for any Map<String, Object> field that maps to protobuf Struct (header, params, etc.).
* Used for any {@code Map<String, Object>} field that maps to protobuf Struct (header, params, etc.).
* Use this with {@code @Mapping(qualifiedByName = "mapToStruct")}.
*
* @param map the domain map
Expand All @@ -135,7 +135,7 @@ default Struct mapToStruct(Map<String, Object> map) {
/**
* Converts protobuf Struct to domain Map (generic conversion).
* <p>
* Used for any protobuf Struct field that maps to Map<String, Object> (header, params, etc.).
* Used for any protobuf Struct field that maps to {@code Map<String, Object>} (header, params, etc.).
* Use this with {@code @Mapping(qualifiedByName = "structToMap")}.
*
* @param struct the protobuf Struct
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ default PushNotificationConfig mapPushNotificationConfigWithId(SetTaskPushNotifi
* <p>
* The config_id from the request overrides the ID in the proto's PushNotificationConfig.
*
* @param request the protobuf SetTaskPushNotificationConfigRequest
* @param domain the protobuf SetTaskPushNotificationConfigRequest
* @return domain PushNotificationConfig with config_id injected
*/
default io.a2a.grpc.TaskPushNotificationConfig mapPushNotificationConfig(TaskPushNotificationConfig domain) {
Expand Down
4 changes: 2 additions & 2 deletions spec/src/main/java/io/a2a/spec/StreamingJSONRPCRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* The A2A Protocol defines two primary streaming operations:
* <ul>
* <li>{@link SendStreamingMessageRequest} - Stream task execution events in real-time</li>
* <li>{@link TaskResubscriptionRequest} - Resubscribe to events from an existing task</li>
* <li>{@link SubscribeToTaskRequest} - Resubscribe to events from an existing task</li>
* </ul>
* <p>
* Streaming requests follow the JSON-RPC 2.0 specification structure but the response
Expand All @@ -27,7 +27,7 @@
*
* @param <T> the type of the params object for this streaming request
* @see SendStreamingMessageRequest
* @see TaskResubscriptionRequest
* @see SubscribeToTaskRequest
* @see StreamingEventKind
* @see <a href="https://a2a-protocol.org/latest/">A2A Protocol Specification</a>
*/
Expand Down
4 changes: 2 additions & 2 deletions spec/src/main/java/io/a2a/spec/TaskIdParams.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
* Parameters containing a task identifier for task-related operations.
* <p>
* This simple parameter record is used by operations that only need a task ID,
* such as {@link CancelTaskRequest}, {@link TaskResubscriptionRequest}, and similar
* such as {@link CancelTaskRequest}, {@link SubscribeToTaskRequest}, and similar
* task-specific requests. It optionally includes metadata for additional context.
*
* @param id the unique task identifier (required)
* @param metadata optional arbitrary key-value metadata for the request
* @see CancelTaskRequest for task cancellation
* @see TaskResubscriptionRequest for task resubscription
* @see SubscribeToTaskRequest for task resubscription
* @see <a href="https://a2a-protocol.org/latest/">A2A Protocol Specification</a>
*/
@JsonInclude(JsonInclude.Include.NON_ABSENT)
Expand Down
Loading