chore: generate OpenAPI specification

This commit is contained in:
Revolt CI
2023-07-02 07:50:11 +00:00
parent bcf361a80e
commit ea713520ac
+23 -2
View File
@@ -10755,7 +10755,8 @@
"required": [
"channel_id",
"id",
"name"
"name",
"permissions"
],
"properties": {
"id": {
@@ -10779,6 +10780,12 @@
"description": "The channel this webhook belongs to",
"type": "string"
},
"permissions": {
"description": "The permissions for the webhook",
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"token": {
"description": "The private token for the webhook",
"type": "string",
@@ -13651,6 +13658,13 @@
"minLength": 1,
"nullable": true
},
"permissions": {
"description": "Webhook permissions",
"type": "integer",
"format": "uint64",
"minimum": 0.0,
"nullable": true
},
"remove": {
"description": "Fields to remove from webhook",
"default": [],
@@ -13674,7 +13688,8 @@
"required": [
"channel_id",
"id",
"name"
"name",
"permissions"
],
"properties": {
"id": {
@@ -13693,6 +13708,12 @@
"channel_id": {
"description": "The channel this webhook belongs to",
"type": "string"
},
"permissions": {
"description": "The permissions for the webhook",
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
}
}