Jochen Kraushaar
05/03/2022, 9:31 AMbuilder.expectsToReceive("get entity", "core/interaction/http")
.with(Map.of("response.contents", Map.of(
"pact:content-type", "application/json",
"body", body
))).toPact()
What is the proper way to configure additional matching rules and generators for the response?
JsonContentMatcher
seems to only set the body. I may set the rules using "response.matchingRules.rules(body)"
, but setting the generators using "response.generators.categories(BODY)"
fails.
Thanks!rholshausen
05/04/2022, 8:48 PMJochen Kraushaar
05/05/2022, 7:30 AMusingLegacyDsl()
. We don't need any V4 features, yet.