Andres Martin Saldaña
04/26/2023, 12:33 PM@EventListener(ApplicationReadyEvent.class)
void configureStubs() {
stubFor(get(urlPathMatching("/hello-world")).willReturn(aResponse()
.withHeader("Content-Type", "text/plain")
.withBody("Hello World")));
}
the endpoint works properly… How can I set the jsons file directory in application.yml to configure all my endpoints?
Thanks!Oleg Nenashev
04/26/2023, 2:39 PM