Given an expected POST body content type of application/vnd.dog.farm+json, when the actual request is made, the following error occurs:
Mock server failed with the following mismatches:
0) The following request was incorrect:
PUT /dogs
1.0 Expected body with content type application/json but was application/vnd.dog.farm+json
It looks like all JSON-like types are e to application/json, and then compared to the incoming narrow type.
See https://github.com/pact-foundation/pact-js/issues/963.
Given an expected POST body content type of
application/vnd.dog.farm+json
, when the actual request is made, the following error occurs:It looks like all JSON-like types are e to application/json, and then compared to the incoming narrow type.