From d7ba11ea3b6c4eb24bf8d89a910ffbc90d26b441 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 12 Oct 2025 19:05:28 +0200 Subject: [PATCH] feat: More explicit expectations for 404 --- ChatroomService-ChatBackendController.json | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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" -- 2.39.5