fix(deps): pin Microsoft.OpenApi to 2.7.5#8
Merged
Conversation
Resolves high-severity vulnerability in transitive dependency from Microsoft.AspNetCore.OpenApi by explicitly pinning Microsoft.OpenApi to version 2.7.5 in both TrainLoop.Api and TrainLoop.Api.Tests projects. Co-Authored-By: Claude <noreply@anthropic.com>
JerrettDavis
added a commit
that referenced
this pull request
Jul 21, 2026
…etCore.OpenApi 10.0.10 The nuget-dependencies group bump pulled Microsoft.OpenApi 3.9.0, whose IOpenApiMediaType.Example API changed to read-only, breaking the Microsoft.AspNetCore.OpenApi 10.0.10 source generator (CS0200). Pin Microsoft.OpenApi back to the 2.7.5 line already known to be compatible (previously pinned in #8 for GHSA-v5pm-xwqc-g5wc). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
JerrettDavis
added a commit
that referenced
this pull request
Jul 21, 2026
* chore(deps): Bump the nuget-dependencies group with 6 updates Bumps Microsoft.AspNetCore.OpenApi from 10.0.9 to 10.0.10 Bumps Microsoft.EntityFrameworkCore from 10.0.9 to 10.0.10 Bumps Microsoft.EntityFrameworkCore.Design from 10.0.9 to 10.0.10 Bumps Microsoft.Extensions.Hosting from 10.0.9 to 10.0.10 Bumps Microsoft.NET.Test.Sdk from 18.7.0 to 18.8.1 Bumps Microsoft.OpenApi from 2.7.5 to 3.9.0 --- updated-dependencies: - dependency-name: Microsoft.AspNetCore.OpenApi dependency-version: 10.0.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-dependencies - dependency-name: Microsoft.EntityFrameworkCore dependency-version: 10.0.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-dependencies - dependency-name: Microsoft.EntityFrameworkCore.Design dependency-version: 10.0.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-dependencies - dependency-name: Microsoft.Extensions.Hosting dependency-version: 10.0.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: nuget-dependencies - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.8.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-dependencies - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.8.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: nuget-dependencies - dependency-name: Microsoft.OpenApi dependency-version: 3.9.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget-dependencies - dependency-name: Microsoft.OpenApi dependency-version: 3.9.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: nuget-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * fix(deps): pin Microsoft.OpenApi to 2.7.5 to resolve CS0200 with AspNetCore.OpenApi 10.0.10 The nuget-dependencies group bump pulled Microsoft.OpenApi 3.9.0, whose IOpenApiMediaType.Example API changed to read-only, breaking the Microsoft.AspNetCore.OpenApi 10.0.10 source generator (CS0200). Pin Microsoft.OpenApi back to the 2.7.5 line already known to be compatible (previously pinned in #8 for GHSA-v5pm-xwqc-g5wc). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * docs(deps): document Microsoft.OpenApi 2.7.5 pin and ignore 3.x in Dependabot Explain why the pin exists (AspNetCore.OpenApi 10.0.x source generator is incompatible with OpenApi 3.x's read-only IOpenApiMediaType.Example) and add a Dependabot ignore rule so future bumps don't silently reintroduce CS0200. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JerrettDavis <mxjerrett@gmail.com> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves high-severity vulnerability GHSA-v5pm-xwqc-g5wc in Microsoft.OpenApi 2.0.0 by pinning to version 2.7.5.
dotnet list package --vulnerable(no vulnerabilities remain)