From aaa5b538a6f9e4fa9cb8ed8f254913d6f90ee8e6 Mon Sep 17 00:00:00 2001 From: "Nelly (automation bot)" <> Date: Tue, 3 Feb 2026 22:57:07 +0000 Subject: [PATCH] Automated spec update (182499) --- specs/openapi.json | 46 +++++++++++++++++++++++++++++++++++++- specs/openapi_preview.json | 46 +++++++++++++++++++++++++++++++++++++- 2 files changed, 90 insertions(+), 2 deletions(-) diff --git a/specs/openapi.json b/specs/openapi.json index aae4dfa..3bd12c4 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -24709,7 +24709,7 @@ "null" ], "items": { - "$ref": "#/components/schemas/GuildRoleResponse" + "$ref": "#/components/schemas/InviteGuildRoleResponse" } } }, @@ -27470,6 +27470,50 @@ "premium_subscription_count" ] }, + "InviteGuildRoleResponse": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "name": { + "type": "string" + }, + "position": { + "type": "integer", + "format": "int32" + }, + "color": { + "type": "integer", + "format": "int32" + }, + "colors": { + "$ref": "#/components/schemas/GuildRoleColorsResponse" + }, + "icon": { + "type": [ + "string", + "null" + ] + }, + "unicode_emoji": { + "type": [ + "string", + "null" + ] + }, + "permissions": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "position", + "color", + "colors" + ] + }, "InviteTargetTypes": { "type": "integer", "oneOf": [ diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index ffe4d65..7859500 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -25149,7 +25149,7 @@ "null" ], "items": { - "$ref": "#/components/schemas/GuildRoleResponse" + "$ref": "#/components/schemas/InviteGuildRoleResponse" } } }, @@ -28056,6 +28056,50 @@ "premium_subscription_count" ] }, + "InviteGuildRoleResponse": { + "type": "object", + "properties": { + "id": { + "$ref": "#/components/schemas/SnowflakeType" + }, + "name": { + "type": "string" + }, + "position": { + "type": "integer", + "format": "int32" + }, + "color": { + "type": "integer", + "format": "int32" + }, + "colors": { + "$ref": "#/components/schemas/GuildRoleColorsResponse" + }, + "icon": { + "type": [ + "string", + "null" + ] + }, + "unicode_emoji": { + "type": [ + "string", + "null" + ] + }, + "permissions": { + "type": "string" + } + }, + "required": [ + "id", + "name", + "position", + "color", + "colors" + ] + }, "InviteTargetTypes": { "type": "integer", "oneOf": [