We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_docs/solutions/spring-boot.md
The example given in "Using WireMock with Spring Boot" has an extra stubFor() and it causes a compiling error (and some confusion). It should be:
stubFor()
wiremock.stubFor(get("/todolist").willReturn(aResponse() .withHeader("Content-Type", "application/json") .withBody(""" [ { "id": 1, "userId": 1, "title": "my todo" }, ] """) ));
instead of:
wiremock.stubFor(stubFor(get("/todolist").willReturn(aResponse() .withHeader("Content-Type", "application/json") .withBody(""" [ { "id": 1, "userId": 1, "title": "my todo" }, ] """) )));
Remove the extra stubFor().
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Page
_docs/solutions/spring-boot.md
Details
The example given in "Using WireMock with Spring Boot" has an extra
stubFor()
and it causes a compiling error (and some confusion). It should be:instead of:
Suggested Edits
Remove the extra
stubFor()
.References
No response
The text was updated successfully, but these errors were encountered: