mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
When using C# code generation WithBody() matcher is not generated for POST Request #593
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 @asos-alexhaigh on GitHub (May 1, 2024).
Originally assigned to: @StefH on GitHub.
Describe the bug
When you generate C# code using
MappingConverterType=Builderthe created code doesn't contains.WithBodyfor the request.Expected behavior:
A clear and concise description of what you expected to happen.
Test to reproduce
__admin\mappingsObserver the JSON file generated has a Body Matcher definedhttp://localhost:9095/__admin/mappings/code?MappingConverterType=Builder@StefH commented on GitHub (May 3, 2024):
Thanks for the detailed description, I'll take look.
@StefH commented on GitHub (May 8, 2024):
https://github.com/WireMock-Net/WireMock.Net/pull/1101
@StefH commented on GitHub (May 8, 2024):
Solved