From 4b0f51f444db6e2926f709c4b5b49725ed5cefbe Mon Sep 17 00:00:00 2001 From: Dominik Stahl Date: Sat, 14 Jun 2025 19:09:48 +0200 Subject: [PATCH] feat(api): add participant management endpoints and update event response structure --- next-swagger-doc.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/next-swagger-doc.json b/next-swagger-doc.json index 2e142c8..7af9ffe 100644 --- a/next-swagger-doc.json +++ b/next-swagger-doc.json @@ -51,6 +51,15 @@ "name": { "type": "string" } } }, + "Participant": { + "type": "object", + "properties": { + "user": { + "$ref": "#/components/schemas/SimpleUser" + }, + "status": { "type": "string" } + } + }, "Event": { "type": "object", "properties": { @@ -67,7 +76,7 @@ "participants": { "type": "array", "items": { - "$ref": "#/components/schemas/SimpleUser" + "$ref": "#/components/schemas/Participant" } } }