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