feat(api): add participant management endpoints and update event response structure

This commit is contained in:
Dominik 2025-06-14 19:09:48 +02:00 committed by Micha
parent e426e0f861
commit 4b0f51f444

View file

@ -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"
}
}
}