From: Kai Moritz Date: Sun, 12 Oct 2025 17:18:58 +0000 (+0200) Subject: fix: HTTP-errors are comunicated via the field `status` X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=a0e97a512e5e56f69035853d1510ae5efdde4d64;p=demos%2Fkafka%2Fchat fix: HTTP-errors are comunicated via the field `status` --- diff --git a/ChatroomService-ChatBackendController.json b/ChatroomService-ChatBackendController.json index f37a0631..9cd74d93 100644 --- a/ChatroomService-ChatBackendController.json +++ b/ChatroomService-ChatBackendController.json @@ -101,7 +101,7 @@ "response": { "body": { "content": { - "error": "404 not found" + "status": 404 }, "contentType": "application/json", "encoded": false @@ -111,18 +111,6 @@ "application/problem+json" ] }, - "matchingRules": { - "body": { - "$.error": { - "combine": "AND", - "matchers": [ - { - "match": "type" - } - ] - } - } - }, "status": 404 }, "type": "Synchronous/HTTP"