X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=spring-consumer%2Ftarget%2Fpacts%2FSpringConsumer-Siren%20Order%20Provider.json;h=d14b5d0ddebdc6d67a80e0ca49856ff68447fe02;hb=bbff8e069b37597c062a39384c18f326ee2d0a7c;hp=323956d6c19eb4ffabcd84dfc4e7d2875e2d8b53;hpb=22c9dfa1b5034c66dcce3dbbb74551c40cdb2e03;p=demos%2Fexample-siren diff --git a/spring-consumer/target/pacts/SpringConsumer-Siren Order Provider.json b/spring-consumer/target/pacts/SpringConsumer-Siren Order Provider.json index 323956d..d14b5d0 100644 --- a/spring-consumer/target/pacts/SpringConsumer-Siren Order Provider.json +++ b/spring-consumer/target/pacts/SpringConsumer-Siren Order Provider.json @@ -11,11 +11,43 @@ }, "response": { "body": { - + "actions": [ + "foo" + ] }, "headers": { "Content-Type": "application/vnd.siren+json" }, + "matchingRules": { + "body": { + "$.actions": { + "combine": "AND", + "matchers": [ + { + "match": "arrayContains", + "variants": [ + { + "generators": { + + }, + "index": 0, + "rules": { + "$": { + "combine": "AND", + "matchers": [ + { + "match": "type" + } + ] + } + } + } + ] + } + ] + } + } + }, "status": 200 } },