Hello! Question for you all: When the consumer is...
# general
r
Hello! Question for you all: When the consumer is creating a mock response of the provider using PactDslJsonBody, do we have feasibility of defining optional parameters in response body ? For example, consumer defines params A,B and C(as Optional) in mock response. Now when provider runs its unit test against this pact , the actual response of provider contains only A and B. This test should pass as param C in Pact is Optional. Could you please clarify if such type of feasibility is there in Pact or not?
m
See howtooptional