From ffebe8f650432a8352bfc7d608270aabcc5b7940 Mon Sep 17 00:00:00 2001 From: Adversary Date: Tue, 8 Aug 2023 21:10:02 +0000 Subject: [PATCH] main - remote-2023-08-08T20:42:06 now-2023-08-08T21:10:02 --- specs/openapi.json | 183 +++---------------------------------- specs/openapi_preview.json | 183 +++---------------------------------- 2 files changed, 22 insertions(+), 344 deletions(-) diff --git a/specs/openapi.json b/specs/openapi.json index 3d9d2cb..6eade78 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -29,7 +29,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetMyOAuth2ApplicationResponse" + "$ref": "#/components/schemas/PrivateApplicationResponse" } } } @@ -15759,177 +15759,6 @@ "url" ] }, - "GetMyOAuth2ApplicationResponse": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "snowflake" - }, - "name": { - "type": "string" - }, - "icon": { - "type": [ - "string", - "null" - ] - }, - "description": { - "type": "string" - }, - "type": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ApplicationTypes" - } - ] - }, - "cover_image": { - "type": [ - "string", - "null" - ] - }, - "primary_sku_id": { - "type": [ - "string", - "null" - ], - "format": "snowflake" - }, - "bot": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/UserResponse" - } - ] - }, - "slug": { - "type": [ - "string", - "null" - ] - }, - "guild_id": { - "type": [ - "string", - "null" - ], - "format": "snowflake" - }, - "rpc_origins": { - "type": [ - "array", - "null" - ], - "items": { - "type": [ - "string", - "null" - ] - } - }, - "bot_public": { - "type": [ - "boolean", - "null" - ] - }, - "bot_require_code_grant": { - "type": [ - "boolean", - "null" - ] - }, - "terms_of_service_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "privacy_policy_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "custom_install_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "install_params": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ApplicationOAuth2ParamsResponse" - } - ] - }, - "verify_key": { - "type": "string" - }, - "flags": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647, - "format": "int32" - }, - "max_participants": { - "type": [ - "integer", - "null" - ], - "minimum": -2147483648, - "maximum": 2147483647, - "format": "int32" - }, - "tags": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - }, - "uniqueItems": true - }, - "owner": { - "$ref": "#/components/schemas/UserResponse" - }, - "team": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TeamResponse" - } - ] - } - }, - "required": [ - "id", - "name", - "description", - "verify_key", - "flags", - "owner" - ] - }, "GithubAuthor": { "type": "object", "properties": { @@ -24151,6 +23980,16 @@ "minimum": -2147483648, "maximum": 2147483647, "format": "int32" + }, + "team": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/TeamResponse" + } + ] } }, "required": [ diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index b5db0a5..65c3043 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -29,7 +29,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetMyOAuth2ApplicationResponse" + "$ref": "#/components/schemas/PrivateApplicationResponse" } } } @@ -15763,177 +15763,6 @@ "url" ] }, - "GetMyOAuth2ApplicationResponse": { - "type": "object", - "properties": { - "id": { - "type": "string", - "format": "snowflake" - }, - "name": { - "type": "string" - }, - "icon": { - "type": [ - "string", - "null" - ] - }, - "description": { - "type": "string" - }, - "type": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ApplicationTypes" - } - ] - }, - "cover_image": { - "type": [ - "string", - "null" - ] - }, - "primary_sku_id": { - "type": [ - "string", - "null" - ], - "format": "snowflake" - }, - "bot": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/UserResponse" - } - ] - }, - "slug": { - "type": [ - "string", - "null" - ] - }, - "guild_id": { - "type": [ - "string", - "null" - ], - "format": "snowflake" - }, - "rpc_origins": { - "type": [ - "array", - "null" - ], - "items": { - "type": [ - "string", - "null" - ] - } - }, - "bot_public": { - "type": [ - "boolean", - "null" - ] - }, - "bot_require_code_grant": { - "type": [ - "boolean", - "null" - ] - }, - "terms_of_service_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "privacy_policy_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "custom_install_url": { - "type": [ - "string", - "null" - ], - "format": "uri" - }, - "install_params": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ApplicationOAuth2ParamsResponse" - } - ] - }, - "verify_key": { - "type": "string" - }, - "flags": { - "type": "integer", - "minimum": -2147483648, - "maximum": 2147483647, - "format": "int32" - }, - "max_participants": { - "type": [ - "integer", - "null" - ], - "minimum": -2147483648, - "maximum": 2147483647, - "format": "int32" - }, - "tags": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string" - }, - "uniqueItems": true - }, - "owner": { - "$ref": "#/components/schemas/UserResponse" - }, - "team": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/TeamResponse" - } - ] - } - }, - "required": [ - "id", - "name", - "description", - "verify_key", - "flags", - "owner" - ] - }, "GithubAuthor": { "type": "object", "properties": { @@ -24161,6 +23990,16 @@ "minimum": -2147483648, "maximum": 2147483647, "format": "int32" + }, + "team": { + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/TeamResponse" + } + ] } }, "required": [