mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
AdminApiMappingBuilder WithPath should add the starting / if missing
#726
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 @AdrianoAE on GitHub (Nov 8, 2025).
Originally assigned to: @StefH on GitHub.
Is your feature request related to a problem? Please describe.
When doing the setup of an endpoint, it's easy to miss the starting
/and unless you are aware of it, it's hard to nail down why things are not working.Describe the solution you'd like
Instead of forcing the developer to either add or check on every setup, simply check within the
WithPathcall and either throw an exception or better option simply prefix the path with itIs your feature request supported by WireMock (java version)? Please provide details.
I don't know, but it's simple and can save a lot of headaches
@StefH commented on GitHub (Nov 8, 2025):
https://github.com/wiremock/WireMock.Net/pull/1377