From b7759d584daa798f63d43fbb1bccfc7b79e112ff Mon Sep 17 00:00:00 2001 From: "Nelly (automation bot)" <> Date: Wed, 15 May 2024 23:50:14 +0000 Subject: [PATCH] Automated spec update (48053) --- specs/openapi.json | 178 ++++--------------------------------- specs/openapi_preview.json | 178 ++++--------------------------------- 2 files changed, 34 insertions(+), 322 deletions(-) diff --git a/specs/openapi.json b/specs/openapi.json index cc20c3b..86409f1 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -12483,29 +12483,7 @@ "null" ], "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ActionRow" - }, - { - "$ref": "#/components/schemas/Button" - }, - { - "$ref": "#/components/schemas/ChannelSelect" - }, - { - "$ref": "#/components/schemas/MentionableSelect" - }, - { - "$ref": "#/components/schemas/RoleSelect" - }, - { - "$ref": "#/components/schemas/StringSelect" - }, - { - "$ref": "#/components/schemas/UserSelect" - } - ] + "$ref": "#/components/schemas/ActionRow" }, "maxItems": 5 }, @@ -19317,29 +19295,7 @@ "null" ], "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ActionRow" - }, - { - "$ref": "#/components/schemas/Button" - }, - { - "$ref": "#/components/schemas/ChannelSelect" - }, - { - "$ref": "#/components/schemas/MentionableSelect" - }, - { - "$ref": "#/components/schemas/RoleSelect" - }, - { - "$ref": "#/components/schemas/StringSelect" - }, - { - "$ref": "#/components/schemas/UserSelect" - } - ] + "$ref": "#/components/schemas/ActionRow" }, "maxItems": 5 }, @@ -19403,29 +19359,7 @@ "null" ], "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ActionRow" - }, - { - "$ref": "#/components/schemas/Button" - }, - { - "$ref": "#/components/schemas/ChannelSelect" - }, - { - "$ref": "#/components/schemas/MentionableSelect" - }, - { - "$ref": "#/components/schemas/RoleSelect" - }, - { - "$ref": "#/components/schemas/StringSelect" - }, - { - "$ref": "#/components/schemas/UserSelect" - } - ] + "$ref": "#/components/schemas/ActionRow" }, "maxItems": 5 }, @@ -19523,29 +19457,7 @@ "null" ], "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ActionRow" - }, - { - "$ref": "#/components/schemas/Button" - }, - { - "$ref": "#/components/schemas/ChannelSelect" - }, - { - "$ref": "#/components/schemas/MentionableSelect" - }, - { - "$ref": "#/components/schemas/RoleSelect" - }, - { - "$ref": "#/components/schemas/StringSelect" - }, - { - "$ref": "#/components/schemas/UserSelect" - } - ] + "$ref": "#/components/schemas/ActionRow" }, "maxItems": 5 }, @@ -19603,29 +19515,7 @@ "null" ], "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ActionRow" - }, - { - "$ref": "#/components/schemas/Button" - }, - { - "$ref": "#/components/schemas/ChannelSelect" - }, - { - "$ref": "#/components/schemas/MentionableSelect" - }, - { - "$ref": "#/components/schemas/RoleSelect" - }, - { - "$ref": "#/components/schemas/StringSelect" - }, - { - "$ref": "#/components/schemas/UserSelect" - } - ] + "$ref": "#/components/schemas/ActionRow" }, "maxItems": 5 }, @@ -22125,29 +22015,7 @@ "null" ], "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ActionRow" - }, - { - "$ref": "#/components/schemas/Button" - }, - { - "$ref": "#/components/schemas/ChannelSelect" - }, - { - "$ref": "#/components/schemas/MentionableSelect" - }, - { - "$ref": "#/components/schemas/RoleSelect" - }, - { - "$ref": "#/components/schemas/StringSelect" - }, - { - "$ref": "#/components/schemas/UserSelect" - } - ] + "$ref": "#/components/schemas/ActionRow" }, "maxItems": 5 }, @@ -22255,29 +22123,7 @@ "null" ], "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ActionRow" - }, - { - "$ref": "#/components/schemas/Button" - }, - { - "$ref": "#/components/schemas/ChannelSelect" - }, - { - "$ref": "#/components/schemas/MentionableSelect" - }, - { - "$ref": "#/components/schemas/RoleSelect" - }, - { - "$ref": "#/components/schemas/StringSelect" - }, - { - "$ref": "#/components/schemas/UserSelect" - } - ] + "$ref": "#/components/schemas/ActionRow" }, "maxItems": 5 }, @@ -22792,6 +22638,16 @@ "MessageReferenceResponse": { "type": "object", "properties": { + "type": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MessageReferenceType" + } + ] + }, "channel_id": { "$ref": "#/components/schemas/SnowflakeType" }, diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index 98049dd..e806ad0 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -12682,29 +12682,7 @@ "null" ], "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ActionRow" - }, - { - "$ref": "#/components/schemas/Button" - }, - { - "$ref": "#/components/schemas/ChannelSelect" - }, - { - "$ref": "#/components/schemas/MentionableSelect" - }, - { - "$ref": "#/components/schemas/RoleSelect" - }, - { - "$ref": "#/components/schemas/StringSelect" - }, - { - "$ref": "#/components/schemas/UserSelect" - } - ] + "$ref": "#/components/schemas/ActionRow" }, "maxItems": 5 }, @@ -19617,29 +19595,7 @@ "null" ], "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ActionRow" - }, - { - "$ref": "#/components/schemas/Button" - }, - { - "$ref": "#/components/schemas/ChannelSelect" - }, - { - "$ref": "#/components/schemas/MentionableSelect" - }, - { - "$ref": "#/components/schemas/RoleSelect" - }, - { - "$ref": "#/components/schemas/StringSelect" - }, - { - "$ref": "#/components/schemas/UserSelect" - } - ] + "$ref": "#/components/schemas/ActionRow" }, "maxItems": 5 }, @@ -19703,29 +19659,7 @@ "null" ], "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ActionRow" - }, - { - "$ref": "#/components/schemas/Button" - }, - { - "$ref": "#/components/schemas/ChannelSelect" - }, - { - "$ref": "#/components/schemas/MentionableSelect" - }, - { - "$ref": "#/components/schemas/RoleSelect" - }, - { - "$ref": "#/components/schemas/StringSelect" - }, - { - "$ref": "#/components/schemas/UserSelect" - } - ] + "$ref": "#/components/schemas/ActionRow" }, "maxItems": 5 }, @@ -19823,29 +19757,7 @@ "null" ], "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ActionRow" - }, - { - "$ref": "#/components/schemas/Button" - }, - { - "$ref": "#/components/schemas/ChannelSelect" - }, - { - "$ref": "#/components/schemas/MentionableSelect" - }, - { - "$ref": "#/components/schemas/RoleSelect" - }, - { - "$ref": "#/components/schemas/StringSelect" - }, - { - "$ref": "#/components/schemas/UserSelect" - } - ] + "$ref": "#/components/schemas/ActionRow" }, "maxItems": 5 }, @@ -19903,29 +19815,7 @@ "null" ], "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ActionRow" - }, - { - "$ref": "#/components/schemas/Button" - }, - { - "$ref": "#/components/schemas/ChannelSelect" - }, - { - "$ref": "#/components/schemas/MentionableSelect" - }, - { - "$ref": "#/components/schemas/RoleSelect" - }, - { - "$ref": "#/components/schemas/StringSelect" - }, - { - "$ref": "#/components/schemas/UserSelect" - } - ] + "$ref": "#/components/schemas/ActionRow" }, "maxItems": 5 }, @@ -22510,29 +22400,7 @@ "null" ], "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ActionRow" - }, - { - "$ref": "#/components/schemas/Button" - }, - { - "$ref": "#/components/schemas/ChannelSelect" - }, - { - "$ref": "#/components/schemas/MentionableSelect" - }, - { - "$ref": "#/components/schemas/RoleSelect" - }, - { - "$ref": "#/components/schemas/StringSelect" - }, - { - "$ref": "#/components/schemas/UserSelect" - } - ] + "$ref": "#/components/schemas/ActionRow" }, "maxItems": 5 }, @@ -22646,29 +22514,7 @@ "null" ], "items": { - "oneOf": [ - { - "$ref": "#/components/schemas/ActionRow" - }, - { - "$ref": "#/components/schemas/Button" - }, - { - "$ref": "#/components/schemas/ChannelSelect" - }, - { - "$ref": "#/components/schemas/MentionableSelect" - }, - { - "$ref": "#/components/schemas/RoleSelect" - }, - { - "$ref": "#/components/schemas/StringSelect" - }, - { - "$ref": "#/components/schemas/UserSelect" - } - ] + "$ref": "#/components/schemas/ActionRow" }, "maxItems": 5 }, @@ -23183,6 +23029,16 @@ "MessageReferenceResponse": { "type": "object", "properties": { + "type": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/MessageReferenceType" + } + ] + }, "channel_id": { "$ref": "#/components/schemas/SnowflakeType" },