diff --git a/public/api/specs/liljudd.json b/public/api/specs/liljudd.json index 743d573..2b35d6c 100644 --- a/public/api/specs/liljudd.json +++ b/public/api/specs/liljudd.json @@ -22,7 +22,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/guildConfig" + "$ref": "#/components/schemas/bootConfig" } } } @@ -382,6 +382,20 @@ }, "components": { "schemas": { + "bootConfig": { + "type": "object", + "properties": { + "guilds": { + "type": "array", + "items": { + "$ref": "#/components/schemas/guildConfig" + } + }, + "accessToken": { + "type": "string" + } + } + }, "guildConfig": { "type": "object", "properties": { @@ -506,17 +520,17 @@ "type": "array", "items": { "type": "string", - "format": "varchar(20)", - "example": [ - "1234567890123456789", - "1234567890123456789", - "1234567890123456789", - "1234567890123456789", - "1234567890123456789", - "1234567890123456789", - "1234567890123456789" - ] - } + "format": "varchar(20)" + }, + "example": [ + "1234567890123456789", + "1234567890123456789", + "1234567890123456789", + "1234567890123456789", + "1234567890123456789", + "1234567890123456789", + "1234567890123456789" + ] } } }