Add request matchers for query parameters in MockRestRequestMatchers [SPR-14995] #19561
Comments
Rossen Stoyanchev commented Sure, would you like to submit a pull request? |
János Schmidt commented I have already submited onet :) Sam Brannen redirected me here to create a new JIRA item first. |
Rossen Stoyanchev commented Good, thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
János Schmidt opened SPR-14995 and commented
There isn't any request matcher factory method for query parameters in MockRestRequestMatchers.
Such request matchers would be use full in the component spring-cloud-contract-wiremock of project spring-cloud-contract when creating a MockRestServiceServer from a WireMock JSON. The request matchers of test components are used for the creation but there is no assertion against query parameters.
The implementation of query parameter request matchers could be there as well but imho it would be more beautiful if the request matchers are in the same place, in the same code base.
Affects: 4.3.4
The text was updated successfully, but these errors were encountered: