WIP
[demos/example-siren] / spring-consumer / target / pacts / SpringConsumer-Siren Order Provider.json
index d14b5d0..9356980 100644 (file)
       "response": {
         "body": {
           "actions": [
-            "foo"
+            {
+              "method": "PUT",
+              "name": "update"
+            }
           ]
         },
         "headers": {
                       },
                       "index": 0,
                       "rules": {
-                        "$": {
+                        "$.method": {
+                          "combine": "AND",
+                          "matchers": [
+                            {
+                              "match": "type"
+                            }
+                          ]
+                        },
+                        "$.name": {
                           "combine": "AND",
                           "matchers": [
                             {