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 WithPath call and either throw an exception or better option simply prefix the path with it
Is 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
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