Automated spec update

This commit is contained in:
Nelly (automation bot) 2023-07-25 00:11:40 +00:00
parent 493d40c451
commit d062970492
2 changed files with 430 additions and 8 deletions

View file

@ -5987,7 +5987,14 @@
"operationId": "get_guild_widget", "operationId": "get_guild_widget",
"responses": { "responses": {
"200": { "200": {
"description": "200 response for get_guild_widget" "description": "200 response for get_guild_widget",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WidgetResponse"
}
}
}
}, },
"4XX": { "4XX": {
"$ref": "#/components/responses/ClientErrorResponse" "$ref": "#/components/responses/ClientErrorResponse"
@ -6231,7 +6238,15 @@
], ],
"responses": { "responses": {
"200": { "200": {
"description": "200 response for get_guild_widget_png" "description": "200 response for get_guild_widget_png",
"content": {
"image/png": {
"schema": {
"type": "string",
"contentEncoding": "binary"
}
}
}
}, },
"4XX": { "4XX": {
"$ref": "#/components/responses/ClientErrorResponse" "$ref": "#/components/responses/ClientErrorResponse"
@ -7537,7 +7552,14 @@
"operationId": "get_guild_widget_settings", "operationId": "get_guild_widget_settings",
"responses": { "responses": {
"200": { "200": {
"description": "200 response for get_guild_widget_settings" "description": "200 response for get_guild_widget_settings",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WidgetSettingsResponse"
}
}
}
}, },
"4XX": { "4XX": {
"$ref": "#/components/responses/ClientErrorResponse" "$ref": "#/components/responses/ClientErrorResponse"
@ -7578,7 +7600,14 @@
}, },
"responses": { "responses": {
"200": { "200": {
"description": "200 response for update_guild_widget_settings" "description": "200 response for update_guild_widget_settings",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WidgetSettingsResponse"
}
}
}
}, },
"4XX": { "4XX": {
"$ref": "#/components/responses/ClientErrorResponse" "$ref": "#/components/responses/ClientErrorResponse"
@ -27019,6 +27048,40 @@
} }
} }
}, },
"WidgetActivity": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
]
},
"WidgetChannel": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "snowflake"
},
"name": {
"type": "string"
},
"position": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647,
"format": "int32"
}
},
"required": [
"id",
"name",
"position"
]
},
"WidgetImageStyles": { "WidgetImageStyles": {
"type": "string", "type": "string",
"oneOf": [ "oneOf": [
@ -27049,6 +27112,154 @@
} }
] ]
}, },
"WidgetMember": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"username": {
"type": "string"
},
"discriminator": {
"$ref": "#/components/schemas/WidgetUserDiscriminator"
},
"avatar": {
"type": "null"
},
"status": {
"type": "string"
},
"avatar_url": {
"type": "string",
"format": "uri"
},
"activity": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/WidgetActivity"
}
]
},
"deaf": {
"type": [
"boolean",
"null"
]
},
"mute": {
"type": [
"boolean",
"null"
]
},
"self_deaf": {
"type": [
"boolean",
"null"
]
},
"self_mute": {
"type": [
"boolean",
"null"
]
},
"suppress": {
"type": [
"boolean",
"null"
]
},
"channel_id": {
"type": [
"string",
"null"
],
"format": "snowflake"
}
},
"required": [
"id",
"username",
"discriminator",
"status",
"avatar_url"
]
},
"WidgetResponse": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "snowflake"
},
"name": {
"type": "string"
},
"instant_invite": {
"type": [
"string",
"null"
]
},
"channels": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WidgetChannel"
}
},
"members": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WidgetMember"
}
},
"presence_count": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647,
"format": "int32"
}
},
"required": [
"id",
"name",
"channels",
"members",
"presence_count"
]
},
"WidgetSettingsResponse": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"channel_id": {
"type": [
"string",
"null"
],
"format": "snowflake"
}
},
"required": [
"enabled"
]
},
"WidgetUserDiscriminator": {
"type": "string",
"oneOf": [
{
"title": "ZEROES",
"const": "0000"
}
]
},
"Error": { "Error": {
"type": "object", "type": "object",
"description": "A single error, either for an API response or a specific field.", "description": "A single error, either for an API response or a specific field.",

View file

@ -5987,7 +5987,14 @@
"operationId": "get_guild_widget", "operationId": "get_guild_widget",
"responses": { "responses": {
"200": { "200": {
"description": "200 response for get_guild_widget" "description": "200 response for get_guild_widget",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WidgetResponse"
}
}
}
}, },
"4XX": { "4XX": {
"$ref": "#/components/responses/ClientErrorResponse" "$ref": "#/components/responses/ClientErrorResponse"
@ -6231,7 +6238,15 @@
], ],
"responses": { "responses": {
"200": { "200": {
"description": "200 response for get_guild_widget_png" "description": "200 response for get_guild_widget_png",
"content": {
"image/png": {
"schema": {
"type": "string",
"contentEncoding": "binary"
}
}
}
}, },
"4XX": { "4XX": {
"$ref": "#/components/responses/ClientErrorResponse" "$ref": "#/components/responses/ClientErrorResponse"
@ -7537,7 +7552,14 @@
"operationId": "get_guild_widget_settings", "operationId": "get_guild_widget_settings",
"responses": { "responses": {
"200": { "200": {
"description": "200 response for get_guild_widget_settings" "description": "200 response for get_guild_widget_settings",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WidgetSettingsResponse"
}
}
}
}, },
"4XX": { "4XX": {
"$ref": "#/components/responses/ClientErrorResponse" "$ref": "#/components/responses/ClientErrorResponse"
@ -7578,7 +7600,14 @@
}, },
"responses": { "responses": {
"200": { "200": {
"description": "200 response for update_guild_widget_settings" "description": "200 response for update_guild_widget_settings",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/WidgetSettingsResponse"
}
}
}
}, },
"4XX": { "4XX": {
"$ref": "#/components/responses/ClientErrorResponse" "$ref": "#/components/responses/ClientErrorResponse"
@ -27025,6 +27054,40 @@
} }
} }
}, },
"WidgetActivity": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
]
},
"WidgetChannel": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "snowflake"
},
"name": {
"type": "string"
},
"position": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647,
"format": "int32"
}
},
"required": [
"id",
"name",
"position"
]
},
"WidgetImageStyles": { "WidgetImageStyles": {
"type": "string", "type": "string",
"oneOf": [ "oneOf": [
@ -27055,6 +27118,154 @@
} }
] ]
}, },
"WidgetMember": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"username": {
"type": "string"
},
"discriminator": {
"$ref": "#/components/schemas/WidgetUserDiscriminator"
},
"avatar": {
"type": "null"
},
"status": {
"type": "string"
},
"avatar_url": {
"type": "string",
"format": "uri"
},
"activity": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/WidgetActivity"
}
]
},
"deaf": {
"type": [
"boolean",
"null"
]
},
"mute": {
"type": [
"boolean",
"null"
]
},
"self_deaf": {
"type": [
"boolean",
"null"
]
},
"self_mute": {
"type": [
"boolean",
"null"
]
},
"suppress": {
"type": [
"boolean",
"null"
]
},
"channel_id": {
"type": [
"string",
"null"
],
"format": "snowflake"
}
},
"required": [
"id",
"username",
"discriminator",
"status",
"avatar_url"
]
},
"WidgetResponse": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "snowflake"
},
"name": {
"type": "string"
},
"instant_invite": {
"type": [
"string",
"null"
]
},
"channels": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WidgetChannel"
}
},
"members": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WidgetMember"
}
},
"presence_count": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647,
"format": "int32"
}
},
"required": [
"id",
"name",
"channels",
"members",
"presence_count"
]
},
"WidgetSettingsResponse": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"channel_id": {
"type": [
"string",
"null"
],
"format": "snowflake"
}
},
"required": [
"enabled"
]
},
"WidgetUserDiscriminator": {
"type": "string",
"oneOf": [
{
"title": "ZEROES",
"const": "0000"
}
]
},
"Error": { "Error": {
"type": "object", "type": "object",
"description": "A single error, either for an API response or a specific field.", "description": "A single error, either for an API response or a specific field.",