hi, we're doing bi-directional testing and I have a query. We have a service doing some backwards compatibility for a legacy service, where an incorrect field value type would still return a 200, just with an error message. The swagger file the field is defined with a specific value type (ie date-time instead of plain string).
The test currently involves sending a request body where one field has a string instead of the expected date-time value, and expects a 200 with an error response (one-of responses defined for the 200 code). Pact fails it in itself due to the incorrect field value (expected date-time, got string). Am I correct in assuming that this is done to encourage appropriate service behaviours (i.e. this should really return a 400), so if any value is incorrect in the request body, it'll automatically assume that a 200 should not be returned?