Updated the openapi schema
This commit is contained in:
parent
e4a14d659a
commit
4e0ac5274c
@ -1633,6 +1633,12 @@
|
|||||||
"$ref": "#/components/schemas/SecurityKey"
|
"$ref": "#/components/schemas/SecurityKey"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"badge_ids": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
"id": {
|
"id": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
@ -3658,6 +3664,12 @@
|
|||||||
},
|
},
|
||||||
"pronouns": {
|
"pronouns": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"badge_ids": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@ -4104,6 +4116,19 @@
|
|||||||
},
|
},
|
||||||
"username": {
|
"username": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"badge_ids": {
|
||||||
|
"anyOf": [
|
||||||
|
{
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@ -4204,12 +4229,17 @@
|
|||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 65535
|
"default": 65535
|
||||||
},
|
},
|
||||||
|
"maxBulkBanUsers": {
|
||||||
|
"type": "integer",
|
||||||
|
"default": 200
|
||||||
|
},
|
||||||
"maxChannelsInCategory": {
|
"maxChannelsInCategory": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 65535
|
"default": 65535
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
"maxBulkBanUsers",
|
||||||
"maxChannels",
|
"maxChannels",
|
||||||
"maxChannelsInCategory",
|
"maxChannelsInCategory",
|
||||||
"maxEmojis",
|
"maxEmojis",
|
||||||
@ -4427,6 +4457,28 @@
|
|||||||
"bio"
|
"bio"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"Badge": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"icon": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"link": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"description",
|
||||||
|
"icon",
|
||||||
|
"id"
|
||||||
|
]
|
||||||
|
},
|
||||||
"TokenResponse": {
|
"TokenResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -5307,7 +5359,6 @@
|
|||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [
|
"required": [
|
||||||
"channel_id",
|
|
||||||
"message_id"
|
"message_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -5465,7 +5516,6 @@
|
|||||||
},
|
},
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"required": [
|
"required": [
|
||||||
"channel_id",
|
|
||||||
"message_id"
|
"message_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -7216,6 +7266,12 @@
|
|||||||
"pronouns": {
|
"pronouns": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"badge_ids": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
"mfa_enabled": {
|
"mfa_enabled": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
@ -7333,6 +7389,12 @@
|
|||||||
"pronouns": {
|
"pronouns": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"badge_ids": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
"mfa_enabled": {
|
"mfa_enabled": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
@ -8014,9 +8076,16 @@
|
|||||||
"bio",
|
"bio",
|
||||||
"guild_id"
|
"guild_id"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"badges": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/components/schemas/Badge"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
"badges",
|
||||||
"connected_accounts",
|
"connected_accounts",
|
||||||
"mutual_guilds",
|
"mutual_guilds",
|
||||||
"premium_type",
|
"premium_type",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user