spring-cloud-contract icon indicating copy to clipboard operation
spring-cloud-contract copied to clipboard

Does YML contract supports matcher for queryParameters?

Open Poseiden opened this issue 7 years ago • 2 comments

I found there are some different matchers can be used in queryParameters in Groovy, but when I write some match expression in YML, it doesn't work. I wonder how to make matcher work for queryParamters in YML definition?

Poseiden avatar Apr 25 '19 02:04 Poseiden

Check this out: https://github.com/spring-cloud/spring-cloud-contract/blob/2.1.x/spring-cloud-contract-verifier/src/test/resources/yml/contract_matchers.yml#L51-L71

marcingrzejszczak avatar Apr 25 '19 09:04 marcingrzejszczak

@marcingrzejszczak Thank you very much.

Poseiden avatar Apr 28 '19 08:04 Poseiden