]> juplo.de Git - demos/kafka/chat/commitdiff
feat: More explicit expectations for 404
authorKai Moritz <kai@juplo.de>
Sun, 12 Oct 2025 17:05:28 +0000 (19:05 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 12 Oct 2025 17:05:28 +0000 (19:05 +0200)
ChatroomService-ChatBackendController.json

index d8da4a28a9e5785c3822be7ff49288a899660a92..8d29136910517e7cbfb04590b1ffb36c929a6fe2 100644 (file)
         "path": "/7f59ec77-832e-4a17-8d22-55ef46242c17"
       },
       "response": {
+        "body": {
+          "content": {
+            "error": "404 not found"
+          },
+          "contentType": "application/json",
+          "encoded": false
+        },
+        "headers": {
+          "Content-Type": [
+            "application/json"
+          ]
+        },
+        "matchingRules": {
+          "body": {
+            "$.error": {
+              "combine": "AND",
+              "matchers": [
+                {
+                  "match": "type"
+                }
+              ]
+            }
+          }
+        },
         "status": 404
       },
       "type": "Synchronous/HTTP"