From: Kai Moritz Date: Sun, 12 Oct 2025 17:05:28 +0000 (+0200) Subject: feat: More explicit expectations for 404 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=d7ba11ea3b6c4eb24bf8d89a910ffbc90d26b441;p=demos%2Fkafka%2Fchat feat: More explicit expectations for 404 --- diff --git a/ChatroomService-ChatBackendController.json b/ChatroomService-ChatBackendController.json index d8da4a28..8d291369 100644 --- a/ChatroomService-ChatBackendController.json +++ b/ChatroomService-ChatBackendController.json @@ -99,6 +99,30 @@ "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"