Fix: Mistakes in openapi specs
This commit is contained in:
parent
4e02e51fca
commit
b28ceb8659
1 changed files with 26 additions and 12 deletions
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue