From b56c100d3d9f111083829b27e99af7e2417f10cf Mon Sep 17 00:00:00 2001 From: Adversary Date: Tue, 23 Apr 2024 00:10:02 +0000 Subject: [PATCH] main - Automated spec update (42981) made at remote:2024-04-23T00:04:56 taken at now:2024-04-23T00:10:02 made by remote Nelly (automation bot) <> --- specs/openapi_preview.json | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index 44af5f2..075776b 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -9265,8 +9265,15 @@ ], "format": "int32" }, - "user_id": { - "$ref": "#/components/schemas/SnowflakeType" + "user": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/UserResponse" + } + ] }, "authorizing_integration_owners": { "type": "object", @@ -9288,7 +9295,6 @@ "required": [ "id", "type", - "user_id", "authorizing_integration_owners" ] }, @@ -21700,8 +21706,15 @@ ], "format": "int32" }, - "user_id": { - "$ref": "#/components/schemas/SnowflakeType" + "user": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/UserResponse" + } + ] }, "authorizing_integration_owners": { "type": "object", @@ -21726,7 +21739,6 @@ "required": [ "id", "type", - "user_id", "authorizing_integration_owners", "interacted_message_id" ] @@ -23336,8 +23348,15 @@ ], "format": "int32" }, - "user_id": { - "$ref": "#/components/schemas/SnowflakeType" + "user": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/UserResponse" + } + ] }, "authorizing_integration_owners": { "type": "object", @@ -23369,7 +23388,6 @@ "required": [ "id", "type", - "user_id", "authorizing_integration_owners", "triggering_interaction_metadata" ]