mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
How to filter in BodyAsFile JsonPath.SelectToken #373
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 @AndresGMD on GitHub (Oct 20, 2021).
Similar as Body As Json:
How to use in Body As File ??
This feature is supported?
Thanks in Advance
@StefH commented on GitHub (Oct 21, 2021):
Hello @andresendava,
For your scenario, you need to set UseTransformer to true to also transform the filename.
More details how to use it are found here:
dc078b57ea/test/WireMock.Net.Tests/ResponseBuilders/ResponseWithTransformerTests.cs (L417)dc078b57ea/test/WireMock.Net.Tests/ResponseBuilders/ResponseWithHandlebarsJsonPathTests.cs (L352)