WIP
[demos/example-siren] / spring-consumer / target / pacts / SpringConsumer-Siren Order Provider.json
index 1b63847..9356980 100644 (file)
         "body": {
           "actions": [
             {
-              "foo": "string"
+              "method": "PUT",
+              "name": "update"
             }
           ]
         },
-        "generators": {
-          "body": {
-            "$[0].foo": {
-              "size": 20,
-              "type": "RandomString"
-            }
-          }
-        },
         "headers": {
           "Content-Type": "application/vnd.siren+json"
         },
                   "variants": [
                     {
                       "generators": {
-                        "$.foo": {
-                          "size": 20,
-                          "type": "RandomString"
-                        }
+
                       },
                       "index": 0,
                       "rules": {
-                        "$.foo": {
+                        "$.method": {
+                          "combine": "AND",
+                          "matchers": [
+                            {
+                              "match": "type"
+                            }
+                          ]
+                        },
+                        "$.name": {
                           "combine": "AND",
                           "matchers": [
                             {