Wrong mapping of method GetAdminMappingsAsync from IWireMockOrgApi #425

Closed
opened 2025-12-29 15:23:33 +01:00 by adam · 3 comments
Owner

Originally created by @marspox on GitHub (Jul 6, 2022).

Originally assigned to: @StefH on GitHub.

Describe the bug

After executing await RestClient.For<IWireMockOrgApi>("http://127.0.0.1:8080").GetAdminMappingsAsync(default, default);
I'm getting exception "Method 'GetAdminMappingsByStubMappingIdAsync': unable to find a [Path("stubMappingId")] property or parameter for the path placeholder '{stubMappingId}'"

Expected behavior:

It should be executed GetAdminMappingsAsync

I'm using WireMock.Org.RestClient with version 1.5.0

Originally created by @marspox on GitHub (Jul 6, 2022). Originally assigned to: @StefH on GitHub. ### Describe the bug After executing `await RestClient.For<IWireMockOrgApi>("http://127.0.0.1:8080").GetAdminMappingsAsync(default, default);` I'm getting exception "Method 'GetAdminMappingsByStubMappingIdAsync': unable to find a [Path(\"stubMappingId\")] property or parameter for the path placeholder '{stubMappingId}'" ### Expected behavior: It should be executed GetAdminMappingsAsync ### Other related info I'm using WireMock.Org.RestClient with version 1.5.0
adam added the bug label 2025-12-29 15:23:33 +01:00
adam closed this issue 2025-12-29 15:23:34 +01:00
Author
Owner

@StefH commented on GitHub (Jul 6, 2022):

#765

@StefH commented on GitHub (Jul 6, 2022): #765
Author
Owner

@StefH commented on GitHub (Jul 7, 2022):

@marspox
You can try preview version WireMock.Org.RestClient.1.5.0-ci-16263.

@StefH commented on GitHub (Jul 7, 2022): @marspox You can try preview version `WireMock.Org.RestClient.1.5.0-ci-16263`.
Author
Owner

@StefH commented on GitHub (Jul 8, 2022):

closed via #765

@StefH commented on GitHub (Jul 8, 2022): closed via #765
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net-wiremock#425