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,7 +520,8 @@
"type": "array",
"items": {
"type": "string",
"format": "varchar(20)",
"format": "varchar(20)"
},
"example": [
"1234567890123456789",
"1234567890123456789",
@ -519,7 +534,6 @@
}
}
}
}
},
"securitySchemes": {
"api_key": {