Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RestClient Admin API Metadata Base Path Duplication #464

Closed
DuncanKennedy opened this issue May 13, 2020 · 3 comments
Closed

RestClient Admin API Metadata Base Path Duplication #464

DuncanKennedy opened this issue May 13, 2020 · 3 comments
Assignees
Labels

Comments

@DuncanKennedy
Copy link

DuncanKennedy commented May 13, 2020

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/");

image

@StefH
Copy link
Collaborator

StefH commented May 14, 2020

New NuGet will be released shortly

@StefH StefH closed this as completed May 14, 2020
@DuncanKennedy
Copy link
Author

Thank you

@StefH
Copy link
Collaborator

StefH commented 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants