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": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/guildConfig" "$ref": "#/components/schemas/bootConfig"
} }
} }
} }
@ -382,6 +382,20 @@
}, },
"components": { "components": {
"schemas": { "schemas": {
"bootConfig": {
"type": "object",
"properties": {
"guilds": {
"type": "array",
"items": {
"$ref": "#/components/schemas/guildConfig"
}
},
"accessToken": {
"type": "string"
}
}
},
"guildConfig": { "guildConfig": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -506,7 +520,8 @@
"type": "array", "type": "array",
"items": { "items": {
"type": "string", "type": "string",
"format": "varchar(20)", "format": "varchar(20)"
},
"example": [ "example": [
"1234567890123456789", "1234567890123456789",
"1234567890123456789", "1234567890123456789",
@ -519,7 +534,6 @@
} }
} }
} }
}
}, },
"securitySchemes": { "securitySchemes": {
"api_key": { "api_key": {