From bd60b31af66ee1a3e4c5e2db9001514e8efb5f04 Mon Sep 17 00:00:00 2001 From: "Nelly (automation bot)" <> Date: Tue, 1 Aug 2023 23:09:02 +0000 Subject: [PATCH] Automated spec update --- specs/openapi.json | 64 ++++---------------------------------- specs/openapi_preview.json | 64 ++++---------------------------------- 2 files changed, 12 insertions(+), 116 deletions(-) diff --git a/specs/openapi.json b/specs/openapi.json index 58b91c3..7824d8f 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -5737,52 +5737,6 @@ ] } }, - "/guilds/{guild_id}/incident-actions": { - "parameters": [ - { - "name": "guild_id", - "in": "path", - "schema": { - "type": "string", - "format": "snowflake" - }, - "required": true - } - ], - "put": { - "operationId": "update_guild_incident_actions", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GuildIncidentActionsRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "200 response for update_guild_incident_actions", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GuildIncidentsDataResponse" - } - } - } - }, - "4XX": { - "$ref": "#/components/responses/ClientErrorResponse" - } - }, - "security": [ - { - "BotToken": [] - } - ] - } - }, "/guilds/{guild_id}/welcome-screen": { "parameters": [ { @@ -17183,7 +17137,7 @@ }, { "title": "RAID_ALERTS_DISABLED", - "description": "guild has disabled alerts for join raids in the configured safety alerts channel", + "description": "guild has disabled activity alerts in the configured safety alerts channel", "const": "RAID_ALERTS_DISABLED" }, { @@ -17286,14 +17240,6 @@ "enabled" ] }, - "GuildIncidentActionsRequest": { - "type": "object", - "properties": {} - }, - "GuildIncidentsDataResponse": { - "type": "object", - "properties": {} - }, "GuildIncomingWebhookResponse": { "type": "object", "properties": { @@ -26911,7 +26857,10 @@ ] }, "verified": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "required": [ @@ -26921,8 +26870,7 @@ "public_flags", "flags", "mfa_enabled", - "locale", - "verified" + "locale" ] }, "UserResponse": { diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index ce4a5ed..f14a682 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -5737,52 +5737,6 @@ ] } }, - "/guilds/{guild_id}/incident-actions": { - "parameters": [ - { - "name": "guild_id", - "in": "path", - "schema": { - "type": "string", - "format": "snowflake" - }, - "required": true - } - ], - "put": { - "operationId": "update_guild_incident_actions", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GuildIncidentActionsRequest" - } - } - }, - "required": true - }, - "responses": { - "200": { - "description": "200 response for update_guild_incident_actions", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GuildIncidentsDataResponse" - } - } - } - }, - "4XX": { - "$ref": "#/components/responses/ClientErrorResponse" - } - }, - "security": [ - { - "BotToken": [] - } - ] - } - }, "/guilds/{guild_id}/welcome-screen": { "parameters": [ { @@ -17187,7 +17141,7 @@ }, { "title": "RAID_ALERTS_DISABLED", - "description": "guild has disabled alerts for join raids in the configured safety alerts channel", + "description": "guild has disabled activity alerts in the configured safety alerts channel", "const": "RAID_ALERTS_DISABLED" }, { @@ -17290,14 +17244,6 @@ "enabled" ] }, - "GuildIncidentActionsRequest": { - "type": "object", - "properties": {} - }, - "GuildIncidentsDataResponse": { - "type": "object", - "properties": {} - }, "GuildIncomingWebhookResponse": { "type": "object", "properties": { @@ -26921,7 +26867,10 @@ ] }, "verified": { - "type": "boolean" + "type": [ + "boolean", + "null" + ] } }, "required": [ @@ -26931,8 +26880,7 @@ "public_flags", "flags", "mfa_enabled", - "locale", - "verified" + "locale" ] }, "UserResponse": {