From f8f8c0b29409c7a3cf26acea6ec4f6ce4dbbd85f Mon Sep 17 00:00:00 2001 From: Adversary Date: Fri, 19 Apr 2024 20:10:02 +0000 Subject: [PATCH] main - Automated spec update (42638) made at remote:2024-04-19T19:13:51 taken at now:2024-04-19T20:10:02 made by remote Nelly (automation bot) <> --- specs/openapi.json | 56 ++++++++++++++++++++++++++++++++++---- specs/openapi_preview.json | 56 ++++++++++++++++++++++++++++++++++---- 2 files changed, 102 insertions(+), 10 deletions(-) diff --git a/specs/openapi.json b/specs/openapi.json index 43412cd..8773b35 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -13061,7 +13061,15 @@ "type": "object", "properties": { "type": { - "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" + "type": "string", + "enum": [ + "channel" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" + } + ] }, "id": { "$ref": "#/components/schemas/SnowflakeType" @@ -20857,7 +20865,16 @@ "array", "null" ], - "items": {}, + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/RoleSelectDefaultValue" + }, + { + "$ref": "#/components/schemas/UserSelectDefaultValue" + } + ] + }, "maxItems": 25 } }, @@ -24674,7 +24691,15 @@ "type": "object", "properties": { "type": { - "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" + "type": "string", + "enum": [ + "role" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" + } + ] }, "id": { "$ref": "#/components/schemas/SnowflakeType" @@ -24977,7 +25002,20 @@ }, "SnowflakeSelectDefaultValueTypes": { "type": "string", - "oneOf": [] + "oneOf": [ + { + "title": "USER", + "const": "user" + }, + { + "title": "ROLE", + "const": "role" + }, + { + "title": "CHANNEL", + "const": "channel" + } + ] }, "SnowflakeType": { "type": "string", @@ -26870,7 +26908,15 @@ "type": "object", "properties": { "type": { - "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" + "type": "string", + "enum": [ + "user" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" + } + ] }, "id": { "$ref": "#/components/schemas/SnowflakeType" diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index adccfee..70d9d3e 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -13304,7 +13304,15 @@ "type": "object", "properties": { "type": { - "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" + "type": "string", + "enum": [ + "channel" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" + } + ] }, "id": { "$ref": "#/components/schemas/SnowflakeType" @@ -21185,7 +21193,16 @@ "array", "null" ], - "items": {}, + "items": { + "oneOf": [ + { + "$ref": "#/components/schemas/RoleSelectDefaultValue" + }, + { + "$ref": "#/components/schemas/UserSelectDefaultValue" + } + ] + }, "maxItems": 25 } }, @@ -25431,7 +25448,15 @@ "type": "object", "properties": { "type": { - "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" + "type": "string", + "enum": [ + "role" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" + } + ] }, "id": { "$ref": "#/components/schemas/SnowflakeType" @@ -25758,7 +25783,20 @@ }, "SnowflakeSelectDefaultValueTypes": { "type": "string", - "oneOf": [] + "oneOf": [ + { + "title": "USER", + "const": "user" + }, + { + "title": "ROLE", + "const": "role" + }, + { + "title": "CHANNEL", + "const": "channel" + } + ] }, "SnowflakeType": { "type": "string", @@ -27682,7 +27720,15 @@ "type": "object", "properties": { "type": { - "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" + "type": "string", + "enum": [ + "user" + ], + "allOf": [ + { + "$ref": "#/components/schemas/SnowflakeSelectDefaultValueTypes" + } + ] }, "id": { "$ref": "#/components/schemas/SnowflakeType"