You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Transitive Dependency Conflict with Microsoft.OpenApi in 2.16.0 #1508
Upon updating from 2.15.0 to 2.16.0, our build begins to fail due to a version conflict. Your dependency update of RamlToOpenApiConverter.SourceOnly 0.21.0 to RamlToOpenApiConverter 0.40.0 also brought in a transitive dependency for Microsoft.OpenApi (version 3.10.2 via RamlToOpenApiConverter 0.30.0).
Unfortunately, we use Microsoft.AspNetCore.OpenApi 10.x, which explicitly depends on Microsoft.OpenApi 2.x, and support for Microsoft.OpenApi 3.x won't be available until .NET 11 is released. Your dependency change from the SourceOnly project to the full project is a breaking change for (presumably) anyone using Microsoft.AspNetCore.OpenApi.
error NU1107: Version conflict detected for Microsoft.OpenApi. Install/reference Microsoft.OpenApi 3.10.2 directly to project {Project} to resolve this issue.
{Project} -> WireMock.Net 2.16.0 -> WireMock.Net.Minimal 2.16.0 -> WireMock.Net.OpenApiParser 2.16.0 -> RamlToOpenApiConverter 0.40.0 -> Microsoft.OpenApi.YamlReader 3.10.2 -> Microsoft.OpenApi (>= 3.10.2)
Expected behavior:
A minor version update shouldn't result in breaking changes due to transitive dependencies.
Test to reproduce
1 Use Microsoft.AspNetCore.OpenApi 10.x or below, update WireMock.Net from 2.15.0 to 2.16.0, breaking changes should occur when building.
@StefH My apologies, I misunderstood the dependency tree. It appears that 2.17.0 has the same issue due to RamlToOpenApiConverter.SourceOnly 0.40.0 adding Microsoft.OpenApi.YamlReader 3.10.2 to Directory.Build.props, whereas previously it was in RamlToOpenApiConverter.SourceOnly.csproj with PrivateAssets="All", thereby not exposing it as a required transitive dependency.
Activity
StefH commentedon Sep 21, 2026
#1505
StefH commentedon Sep 21, 2026
#1509
StefH commentedon Sep 21, 2026
@tbright92
New version will be released soon.
tbright92 commentedon Sep 21, 2026
Thanks, @StefH! I truly appreciate the quick response and resolution. 😄
tbright92 commentedon Sep 22, 2026
@StefH My apologies, I misunderstood the dependency tree. It appears that 2.17.0 has the same issue due to RamlToOpenApiConverter.SourceOnly 0.40.0 adding Microsoft.OpenApi.YamlReader 3.10.2 to Directory.Build.props, whereas previously it was in RamlToOpenApiConverter.SourceOnly.csproj with
PrivateAssets="All", thereby not exposing it as a required transitive dependency.StefH commentedon Sep 22, 2026
Thanks for the comment.
I will see if I can fix it
StefH commentedon Sep 22, 2026
StefH/RamlToOpenApiConverter#31
StefH commentedon Sep 22, 2026
#1510
StefH commentedon Sep 22, 2026
New version will be released shortly.
tbright92 commentedon Sep 22, 2026
Once again, thanks @StefH for the quick response and fix! Confirmed all is good for us now.