From d18aec40b0c6f4e01d917c0ef7c37b796304351e Mon Sep 17 00:00:00 2001 From: Revolt CI Date: Sat, 15 Jun 2024 10:11:27 +0000 Subject: [PATCH] chore: generate OpenAPI specification --- OpenAPI.json | 55 ++++++++++++++++++++++------------------------------ 1 file changed, 23 insertions(+), 32 deletions(-) diff --git a/OpenAPI.json b/OpenAPI.json index 991d6e0..ad5b38a 100644 --- a/OpenAPI.json +++ b/OpenAPI.json @@ -13,7 +13,7 @@ "name": "AGPLv3", "url": "https://github.com/revoltchat/delta/blob/master/LICENSE" }, - "version": "0.7.4" + "version": "0.7.5" }, "servers": [ { @@ -6257,15 +6257,6 @@ ], "nullable": true }, - "profile": { - "description": "User's profile page", - "allOf": [ - { - "$ref": "#/components/schemas/UserProfile" - } - ], - "nullable": true - }, "flags": { "description": "Enum of user flags", "type": "integer", @@ -6541,28 +6532,6 @@ "Invisible" ] }, - "UserProfile": { - "description": "User's profile", - "type": "object", - "properties": { - "content": { - "description": "Text content on user's profile", - "type": "string", - "maxLength": 2000, - "minLength": 0, - "nullable": true - }, - "background": { - "description": "Background visible on user's profile", - "allOf": [ - { - "$ref": "#/components/schemas/File" - } - ], - "nullable": true - } - } - }, "BotInformation": { "description": "Bot information for if the user is a bot", "type": "object", @@ -6707,6 +6676,28 @@ } } }, + "UserProfile": { + "description": "User's profile", + "type": "object", + "properties": { + "content": { + "description": "Text content on user's profile", + "type": "string", + "maxLength": 2000, + "minLength": 0, + "nullable": true + }, + "background": { + "description": "Background visible on user's profile", + "allOf": [ + { + "$ref": "#/components/schemas/File" + } + ], + "nullable": true + } + } + }, "Channel": { "description": "Channel", "oneOf": [