]> juplo.de Git - demos/kafka/chat/commitdiff
fix: HTTP-errors are comunicated via the field `status`
authorKai Moritz <kai@juplo.de>
Sun, 12 Oct 2025 17:18:58 +0000 (19:18 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 12 Oct 2025 17:18:58 +0000 (19:18 +0200)
ChatroomService-ChatBackendController.json

index f37a0631b51bf0054a8bdf8b7aff4627c519b4ca..9cd74d937e0b4ec926aa7d0ed2a362e627bf0cbb 100644 (file)
       "response": {
         "body": {
           "content": {
-            "error": "404 not found"
+            "status": 404
           },
           "contentType": "application/json",
           "encoded": false
             "application/problem+json"
           ]
         },
-        "matchingRules": {
-          "body": {
-            "$.error": {
-              "combine": "AND",
-              "matchers": [
-                {
-                  "match": "type"
-                }
-              ]
-            }
-          }
-        },
         "status": 404
       },
       "type": "Synchronous/HTTP"