Closed StefH closed 7 years ago
Hello Greg; you can just access Mappings
?
Yeah but its an interface of IMapping, I want to be able to serialize it and send it as an object over http. Thats why I need the mapping info like path, request matchers, response etc as properties.
You know you can just do a GET request to the /__admin/mappings
to get all mappings?
Yeah I know but since I have the server object in memory, I was wondering if I could get the mappings the same way as I can get LogEntries without the need of extra http call
I see, can you create a new issue?
Thanks @StefH for the quick response! Not sure if you still need it but I have created a new issue: https://github.com/WireMock-Net/WireMock.Net/issues/299
Hi,
I was wondering if this is implemented? Because I see now that RequestMatchers in RequestMessageCompositeMatcher class is private. So is there a way we can get the instance of all registered mappings like we see them in the admin API?
Thx,
Greg