openapi2mcp: generated config.tools entries omit the responses field from the OpenAPI spec
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
deck ファイルの openapi2mcp エントリポイントから開始し、openapi2mcp.Convert の呼び出しを追って、operation.Parameters と operation.RequestBody がどのように変換されるかを比較します。operation.Responses のデータを追跡し、ステータスコードとメディアタイプのコンテンツスキーマを含む、生成される Responses の構造を定義します。完了の条件は、存在する場合に config.tools エントリがそのレスポンス情報を保持することです。
索引モデルが issue の本文から書いたものです。
説明
Summary
When converting an OpenAPI spec to MCP configuration (via deck file openapi2mcp, which calls openapi2mcp.Convert), each generated tool under config.tools includes the operation's request contract but not the operation's responses. The OpenAPI responses object is never read during conversion.
Current behavior
operation.Parameters and operation.RequestBody are consumed, but operation.Responses is never accessed anywhere in the package. There is no responses (or equivalent) key in the tool map and no builder function for it.
Expected / desired behavior
Generated tool entries should optionally include response schema information derived from the OpenAPI responses object (e.g. a responses field keyed by status code, each with its media-type content schemas, mirroring the shape of request_body).
- 主要言語
- Go
- スター
- 507
- フォーク
- 142
- 平均マージ
- 1日 15時間
- マージ済み PR(30日)
- 9
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Kong/deck のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Cojekt/LibreDental#258 ·
メンテナーはふだん 1 日以内に返信
-
go good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
opensro-dev/opensro#4949 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 3 日以内に返信
-
agent-execution/02 row 4: consumers Verify row lacks delivery/base binding, cannot pass post-mergeオープンbug effort:s impact:low raised-by:verifier risk:low
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
medici-finance/assay#7946 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信