Upgrade Microsoft.OpenApi to 3.x when moving to .NET 11
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- csharp, github-actions, openapi
- 領域
- api, backend-api-design, devops
調査の方向性
The work is blocked on moving the project to .NET 11 and Microsoft.AspNetCore.OpenApi 11.x becoming stable. Start by checking TaskFlow.Api/TaskFlow.Api.csproj and .github/dependabot.yml, then compare /openapi/v1.json and npm run gen:api before and after the upgrade. Done means using Microsoft.OpenApi 3.5.4 or later, removing the major-version ignore and pin comment, and checking whether #165 adds a dependency constraint.
索引モデルが issue の本文から書いたものです。
説明
Follow-up from #279 / #300 (chore(deps): ignore Microsoft.OpenApi major updates and document the 2.x pin).
Problem
Microsoft.OpenApi is pinned to 2.x (2.7.5, the CVE-2026-49451 / GHSA-v5pm-xwqc-g5wc fix for 2.x). The 3.x line cannot be used on .NET 10: Microsoft.AspNetCore.OpenApi on .NET 10 caps Microsoft.OpenApi below 3.0.0, and its source generator fails with CS0200 on IOpenApiMediaType.Example against 3.x.
Dependency ranges, from the published nuspecs on nuget.org:
Microsoft.AspNetCore.OpenApi |
Microsoft.OpenApi dependency |
|---|---|
| 10.0.8 (current) | 2.0.0 minimum |
| 10.0.14 (latest stable 10.x, 2026-10-30) | not re-checked; 10.0.13 was [2.12.2, 3.0.0) |
| 11.0.0-rc.3.26522.148 (latest, 2026-10-30) | not re-checked; rc.2 was [3.10.2, 4.0.0) |
There is no stable 11.0.0 yet. The project is staying on .NET 10 for now, so #300 added a Dependabot ignore for Microsoft.OpenApi major updates (.github/dependabot.yml, nuget block). That ignore has no expiry.
Scope
Upgrade Microsoft.OpenApi to a 3.x release once the project moves to .NET 11 (and Microsoft.AspNetCore.OpenApi 11.x is stable).
- Use 3.5.4 or later. 3.x versions up to 3.5.3 are affected by CVE-2026-49451; 3.5.4 is the patched release.
- Remove the
ignoreforMicrosoft.OpenApiin.github/dependabot.ymland the pin comment inTaskFlow.Api/TaskFlow.Api.csproj. - Re-check that
/openapi/v1.jsonandnpm run gen:apioutput are unchanged or intentionally changed. - Link with #165 (Asp.Versioning.Mvc v10), resolved 2026-10-30 from the nuspec:
Asp.Versioning.OpenApi10.2.3 depends onMicrosoft.OpenApi [2.7.5, 3.0.0), so adopting it on .NET 10 would block this upgrade until Asp.Versioning ships a release that accepts Microsoft.OpenApi 3.x. #165 is therefore on hold. Check for such a release before starting this issue. - Part of #372 (Move to .NET 11).
Blocked by
The decision to move the project to .NET 11. If that decision is never made, this issue can be closed together with the ignore rationale.
Created with Claude Code following #300
- 主要言語
- C#
- スター
- 1
- フォーク
- 0
- 平均マージ
- 2時間 2分
- マージ済み PR(30日)
- 98
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nevridge/TaskFlow のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
nevridge/TaskFlow の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
juandresrodca/AdminForge#54 ·
-
要トリアージ 辞書
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
yksr-melt/Meltype#1625 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Docs typoオープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
MonoGame/docs.monogame.github.io#328 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
space-wizards/RobustToolbox#7197 ·
メンテナーはふだん 1 日以内に返信
-
documentation high priority
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
lachydotmcg/capri-desktop#201 ·
メンテナーはふだん 1 日以内に返信