chore: generate OpenAPI specification

This commit is contained in:
Revolt CI
2023-06-04 18:38:27 +00:00
parent 50bd7b1aec
commit cb8b9ba7bb
+23 -5
View File
@@ -7375,6 +7375,26 @@
}
}
},
{
"type": "object",
"required": [
"max",
"type"
],
"properties": {
"type": {
"type": "string",
"enum": [
"TooManyEmbeds"
]
},
"max": {
"type": "integer",
"format": "uint",
"minimum": 0.0
}
}
},
{
"type": "object",
"required": [
@@ -10359,11 +10379,11 @@
},
"attachments": {
"description": "Attachments to include in message",
"default": [],
"type": "array",
"items": {
"type": "string"
}
},
"nullable": true
},
"replies": {
"description": "Messages to reply to",
@@ -10375,13 +10395,11 @@
},
"embeds": {
"description": "Embeds to include in message\n\nText embed content contributes to the content length cap",
"default": [],
"type": "array",
"items": {
"$ref": "#/components/schemas/SendableEmbed"
},
"maxItems": 10,
"minItems": 0
"nullable": true
},
"masquerade": {
"description": "Masquerade to apply to this message",