mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
Change static mappings location #409
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 @RomanPoschl on GitHub (Mar 4, 2022).
Hello, I have integrated WireMock.Net in my Xamarin UI tests. I wanna ask if it is possible to tell for example LoadStaticMapping from this folder. Or way how to efficiently transfer from JSON files to c# methods.
Thank you
@StefH commented on GitHub (Mar 10, 2022):
@RomanPoschl
Did you try : 'ReadStaticMappings ' ?
affe388e30/src/WireMock.Net.Abstractions/Server/IWireMockServer.cs (L104)@RomanPoschl commented on GitHub (Mar 15, 2022):
@StefH oh that's a method? A used little dirty way.
I created my own FileHandler, where I changed the path.