From 0402f284e7380705b5fac066aecb93cefa6d98a4 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Tue, 15 Apr 2025 12:21:38 +0200 Subject: [PATCH] backend: Update success-room-marked-for-deletion response example and enhance bulk delete response description --- .../components/responses/success-room-marked-for-deletion.yaml | 2 +- backend/openapi/paths/rooms.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/openapi/components/responses/success-room-marked-for-deletion.yaml b/backend/openapi/components/responses/success-room-marked-for-deletion.yaml index bb93073..ac7d5b2 100644 --- a/backend/openapi/components/responses/success-room-marked-for-deletion.yaml +++ b/backend/openapi/components/responses/success-room-marked-for-deletion.yaml @@ -7,4 +7,4 @@ content: message: type: string example: - message: Rooms room-123, room-456 marked for deletion + message: Rooms room-123 marked for deletion diff --git a/backend/openapi/paths/rooms.yaml b/backend/openapi/paths/rooms.yaml index 04ba240..c7db7f0 100644 --- a/backend/openapi/paths/rooms.yaml +++ b/backend/openapi/paths/rooms.yaml @@ -136,6 +136,9 @@ - $ref: '../components/parameters/room-id.yaml' responses: '202': + description: > + The room was marked for deletion (due to active participants) + and will be removed once all participants leave. $ref: '../components/responses/success-room-marked-for-deletion.yaml' '204': description: Successfully deleted the OpenVidu Meet room