feat(api): add participant management endpoints and update event response structure
This commit is contained in:
parent
e426e0f861
commit
4b0f51f444
1 changed files with 10 additions and 1 deletions
|
@ -51,6 +51,15 @@
|
||||||
"name": { "type": "string" }
|
"name": { "type": "string" }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"Participant": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"user": {
|
||||||
|
"$ref": "#/components/schemas/SimpleUser"
|
||||||
|
},
|
||||||
|
"status": { "type": "string" }
|
||||||
|
}
|
||||||
|
},
|
||||||
"Event": {
|
"Event": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -67,7 +76,7 @@
|
||||||
"participants": {
|
"participants": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/components/schemas/SimpleUser"
|
"$ref": "#/components/schemas/Participant"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue