From 74e79c4fceaf155be834b4f65da053d84cffcde1 Mon Sep 17 00:00:00 2001 From: PagerDuty API Schema Bot Date: Mon, 8 Sep 2025 13:35:13 +0000 Subject: [PATCH] schemaUpdate-2025-09-08-13-35 --- .../integration-slack-service/openapiv3.json | 39 ++++++++++++++++--- 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/reference/integration-slack-service/openapiv3.json b/reference/integration-slack-service/openapiv3.json index 64c2fca..fadc7c9 100644 --- a/reference/integration-slack-service/openapiv3.json +++ b/reference/integration-slack-service/openapiv3.json @@ -711,12 +711,9 @@ "type": "object", "properties": { "slack_connection": { - "$ref": "#/components/schemas/SlackConnection" + "$ref": "#/components/schemas/CreateSlackConnectionPayload" } - }, - "required": [ - "slack_connection" - ] + } }, "examples": { "Request": { @@ -1417,6 +1414,36 @@ } } }, + "CreateSlackConnectionPayload": { + "title": "Create Slack Connection Payload", + "x-stoplight": { + "id": "hvz3zyml7ggfe" + }, + "type": "object", + "properties": { + "channel_id": { + "type": "string" + }, + "source_id": { + "type": "string" + }, + "source_type": { + "$ref": "#/components/schemas/SlackConnectionSourceType" + }, + "notification_type": { + "$ref": "#/components/schemas/SlackConnectionNotifiationType" + }, + "config": { + "$ref": "#/components/schemas/SlackConnectionConfig" + } + }, + "required": [ + "channel_id", + "source_id", + "source_type", + "config" + ] + }, "SlackConnectionNotifiationType": { "title": "Slack Connection Notification Type", "default": "responder", @@ -1628,4 +1655,4 @@ } } } -} +} \ No newline at end of file