Skip to content

Commit eb102c4

Browse files
committed
chore: generate OpenAPI specification
1 parent ae4af09 commit eb102c4

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

OpenAPI.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6068,6 +6068,7 @@
60686068
"message_embeds",
60696069
"message_reactions",
60706070
"message_replies",
6071+
"restrict_server_creation",
60716072
"server_channels",
60726073
"server_emoji",
60736074
"server_roles"
@@ -6111,6 +6112,13 @@
61116112
"body_limit_size": {
61126113
"type": "integer",
61136114
"format": "int64"
6115+
},
6116+
"restrict_server_creation": {
6117+
"description": "restrict server creation to these users. if blank, all users can create servers",
6118+
"type": "array",
6119+
"items": {
6120+
"type": "string"
6121+
}
61146122
}
61156123
}
61166124
},
@@ -6675,6 +6683,20 @@
66756683
}
66766684
}
66776685
},
6686+
{
6687+
"type": "object",
6688+
"required": [
6689+
"type"
6690+
],
6691+
"properties": {
6692+
"type": {
6693+
"type": "string",
6694+
"enum": [
6695+
"CantCreateServers"
6696+
]
6697+
}
6698+
}
6699+
},
66786700
{
66796701
"type": "object",
66806702
"required": [

0 commit comments

Comments
 (0)