Fix: Mistakes in openapi specs

This commit is contained in:
Aron Malcher 2024-02-11 20:57:48 +01:00
parent 4e02e51fca
commit b28ceb8659
Signed by: aronmal
GPG key ID: 816B7707426FC612

View file

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