Open KarinBerg opened 5 years ago
I wrote a test to generate a consumer Pact file. Unfortunately the "matchingRules" are missing and I have no idea how to integrate them? Could someone give me a hint?
Here an example of what I miss:
... "messages": { "description": "ThingUpdatedEvent", "metaData": { "type": "ThinkUpdated" }, "contents": { "id": "some id", "updatedAt": "20190114T12111869Z", }, "providerStates": [ { "name": "a thing was updated" } ], "matchingRules": { "body": { "$.id": { "matchers": [ { "match": "type" } ], "combine": "AND" }, "$.updatedAt": { "matchers": [ { "match": "regex", "regex": "\\d{8}T\\d{6,9}Z" } ], "combine": "AND" } } } ...
I wrote a test to generate a consumer Pact file. Unfortunately the "matchingRules" are missing and I have no idea how to integrate them? Could someone give me a hint?
Here an example of what I miss: