mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
Upgrade YamlDotNet dependency #733
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @extrmi on GitHub (Dec 18, 2025).
Originally assigned to: @StefH on GitHub.
Is your feature request related to a problem? Please describe.
I'm using WireMock.Net in an integration test project with
WebApplicationFactory. TheWebApplicationFactorypoints to theProgram.csof the Api project. The Api project relies on newest NSwag.AspNetCore (14.6.2) for generating OpenApi spec. Standard stuff.When running the test in Azure DevOps a reflection error occurs
Notice that the method it's looking in YamlDotNet for has 4 parameters, exactly how it looks in
v.8.1.0(5 years-old version) thatWireMock.Net.OpenApiParseruses (https://github.com/aaubry/YamlDotNet/blob/v8.1.0/YamlDotNet/Serialization/INodeDeserializer.cs), newer versions have 5 parameters (https://github.com/aaubry/YamlDotNet/blob/master/YamlDotNet/Serialization/INodeDeserializer.cs).Describe the solution you'd like
Upgrade YamlDotNet reference from
8.1.0to newest16.3.0in https://github.com/wiremock/WireMock.Net/blob/master/src/WireMock.Net.OpenApiParser/WireMock.Net.OpenApiParser.csproj@StefH commented on GitHub (Dec 19, 2025):
https://github.com/wiremock/WireMock.Net/pull/1399