mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
RestClient Admin API Metadata Base Path Duplication #269
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 @DuncanKennedy on GitHub (May 13, 2020).
Originally assigned to: @StefH on GitHub.
https://github.com/WireMock-Net/WireMock.Net/blob/master/src/WireMock.Net.RestClient/IWireMockAdminApi.cs
ResetMappingsAsync method contains the base path (__admin) in its metadata attribute unlike the other methods in this interface. This causes the incorrect path to get used for example when using the interface definition with RestEase. Ex. _mockServerAdminApi = RestClient.For("http://localhost:9292/");
@StefH commented on GitHub (May 14, 2020):
New NuGet will be released shortly
@DuncanKennedy commented on GitHub (May 14, 2020):
Thank you
@StefH commented on GitHub (May 14, 2020):
@DuncanKennedy Thank you for finding this, the bug has been there for some time!
And if you have more issues or ideas, please share.