chore: upgrade Asp.Versioning.Mvc to v10.0.0
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- csharp, openapi
調査の方向性
First check whether Asp.Versioning.OpenApi has reached a stable NuGet release; the issue says to wait until it has. Then review TaskFlow.Api.csproj, Extensions/ApiVersioningServiceExtensions.cs, Extensions/OpenApiServiceExtensions.cs, and Program.cs for the versioning and OpenAPI wiring. Verify the Scalar UI, version tagged OpenAPI output, test suite, and vulnerable package report against the acceptance criteria.
索引モデルが issue の本文から書いたものです。
説明
On hold (2026-10-30), part of #372 (Move to .NET 11). Verified from the NuGet nuspecs:
Asp.Versioning.OpenApi10.2.3 depends onMicrosoft.OpenApi [2.7.5, 3.0.0)and onMicrosoft.AspNetCore.OpenApi 10.0.10, andAsp.Versioning.Mvc10.2.1 targetsnet10.0only. The 2.7.5 pin in this repo satisfies that range, so the migration itself should resolve cleanly on .NET 10. But the<3.0.0cap is exactly what #301 has to get past:Microsoft.AspNetCore.OpenApi11.x needsMicrosoft.OpenApi3.10.2 or later. AdoptingAsp.Versioning.OpenApinow would block the .NET 11 move until Asp.Versioning ships a release that accepts Microsoft.OpenApi 3.x. 8.1.1 works on .NET 10, so there is no urgency. Take this with the .NET 11 move, or when such a release exists, whichever is first.
Background
Asp.Versioning.Mvc and Asp.Versioning.Mvc.ApiExplorer were held at 8.1.1 in #164 (backend NuGet dependency audit). The 10.x line carries breaking changes to OpenAPI wiring that require a dedicated migration.
Update (2026-10-12): the prerequisite is met. Asp.Versioning.OpenApi now has stable releases, and the latest versions on NuGet are:
| Package | Currently pinned | Latest stable |
|---|---|---|
Asp.Versioning.Mvc |
8.1.1 |
10.2.1 |
Asp.Versioning.Mvc.ApiExplorer |
8.1.1 |
10.2.1 |
Asp.Versioning.OpenApi (new) |
not referenced | 10.2.3 |
The original target of 10.0.0 is superseded. Target the latest stable release, and review the changelogs between 10.0.0 and 10.2.x for further breaking changes.
What needs to change
Version 10 changes how OpenAPI integration is wired:
- The old pattern (
services.AddOpenApi("v1", options => ...)fromMicrosoft.AspNetCore) is replaced by a fluent chain:AddApiVersioning().AddApiExplorer().AddOpenApi() app.MapOpenApi()must be replaced byapp.MapOpenApi().WithDocumentPerVersion()- The custom
ApiVersionDocumentTransformerinExtensions/OpenApiServiceExtensions.csmay need to be adapted or replaced by the newVersionedOpenApiOptionssurface - A new companion package
Asp.Versioning.OpenApiis required
Things to watch
Microsoft.OpenApiis pinned to2.7.5to resolve CVE-2026-49451 (commit0c60491). ConfirmAsp.Versioning.OpenApiresolves cleanly with that pin and that the CVE stays fixed (dotnet list package --vulnerable).- Current wiring:
Program.cscallsAddApiVersioningConfiguration()andOpenApiServiceExtensions.AddOpenApi(...), andapp.UseOpenApiWithScalar().
Files likely affected
TaskFlow.Api/TaskFlow.Api.csproj— addAsp.Versioning.OpenApi, bumpAsp.Versioning.MvcandAsp.Versioning.Mvc.ApiExplorerto the latest stable (10.2.1)TaskFlow.Api/Extensions/ApiVersioningServiceExtensions.csTaskFlow.Api/Extensions/OpenApiServiceExtensions.csTaskFlow.Api/Program.cs(ifMapOpenApicall needs updating)
Acceptance criteria
-
Asp.Versioning.OpenApiis at a stable release (10.2.3as of 2026-10-12) -
Asp.Versioning.MvcandAsp.Versioning.Mvc.ApiExplorerupdated to the latest stable (10.2.1) - Scalar UI at
/scalar/v1renders correctly with API version selection working - Generated OpenAPI JSON is valid and version-tagged
-
npm run gen:apistill produces a working client (the generator reads the live OpenAPI spec) - All backend tests pass (
dotnet test) anddotnet format --verify-no-changesis clean -
dotnet list package --vulnerablereports zero findings
- 主要言語
- 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 日以内に返信