Re-staged the contract for `delete order`
[demos/example-siren] / spring-consumer / target / pacts / SpringConsumer-SirenOrderProvider.json
index d4dbfff..d666dde 100644 (file)
@@ -3,6 +3,27 @@
     "name": "SpringConsumer"
   },
   "interactions": [
+    {
+      "description": "delete order",
+      "request": {
+        "matchingRules": {
+          "path": {
+            "combine": "AND",
+            "matchers": [
+              {
+                "match": "regex",
+                "regex": "/orders/\\d+"
+              }
+            ]
+          }
+        },
+        "method": "DELETE",
+        "path": "/orders/1234"
+      },
+      "response": {
+        "status": 200
+      }
+    },
     {
       "description": "get all orders",
       "request": {