Using wiremock in a Spring application I noticed t...
# wiremock-java
e
Using wiremock in a Spring application I noticed that The static method
urlPathTemplate
is missing. Is this the expected behavior?
t
I suggest checking your dependency graph to see if an older version of WireMock is being pulled in.
urlPathTemplate
is a new addition in 3.x and I think by default Spring still depends on 2.x.
e
Yes. I had excluded
wiremock-standalone-jre8
from
spring-cloud-starter-contract-stub-runner
and added the
org.wiremock:wiremock:3.2.0
dependency which worked as expected.
👍 1
So for the 2.x. version there was no support for path parameters?
t
No, it was introduced in the 3.x beta series
e
Alright. Thanks!