Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Feat]: Update Part objects

オープン
#688 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
停滞

調査の方向性

Part インターフェースとその実装は io.a2a.spec パッケージにあります。まず、現在の Part、DataPart、FilePart、TextPart クラスを調べます。Part に関する A2A 仕様を確認し、必須フィールド (text, raw, url, data, metadata, filename, mediaType) を理解します。既存のシリアライズ/デシリアライズのテストがないか確認します。目標は、インターフェースと 3 つのクラスを、仕様に準拠した単一の Part クラスに置き換え、Jackson などの JSON ライブラリで動作することを保証することです。

索引モデルが issue の本文から書いたものです。

説明

Is your feature request related to a problem? Please describe.

Hello!
I am wondering if it's possible to update the Part interface, as well as the DataPart/FilePart/TextPart implementations in io.a2a.spec, in line with the A2A specification of Part?

The main problem I am having with the current implementation is that I am having trouble doing JSON serialization/deserialization with the Part interface. Jackson/fastjson are unable to processes it.

Describe the solution you'd like
  1. Remove the Part interface, and DataPart/FilePart/TextPart classes.
  2. Add a single Part class, with text, raw, url, data, metadata, filename, mediaType fields as described in the spec.

Thanks!

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct
  • I agree to follow this project's Code of Conduct
主要言語
Java
スター
495
フォーク
174
平均マージ
1日 17時間
マージ済み PR(30日)
48

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

a2aproject/a2a-java のほかの issue

a2aproject/a2a-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。