diff options
-rw-r--r-- | assets/openapi.json | 67 |
1 files changed, 25 insertions, 42 deletions
diff --git a/assets/openapi.json b/assets/openapi.json index cf262c2c..8ec308ba 100644 --- a/assets/openapi.json +++ b/assets/openapi.json @@ -1444,8 +1444,8 @@ "type": "string" }, "flags": { - "type": "string", - "default": "0" + "type": "integer", + "default": 0 }, "public_flags": { "type": "integer", @@ -2176,7 +2176,7 @@ ] }, "flags": { - "type": "string" + "type": "integer" }, "message_reference": { "type": "object", @@ -3631,12 +3631,15 @@ "APIGuild": { "type": "object", "properties": { + "name": { + "type": "string" + }, "reload": { "description": "Reloads entity data from the database.", "type": "object", "additionalProperties": false }, - "name": { + "id": { "type": "string" }, "icon": { @@ -3669,18 +3672,15 @@ "$ref": "#/components/schemas/Webhook" } }, - "id": { - "type": "string" - }, - "_do_validate": { + "toJSON": { "type": "object", "additionalProperties": false }, - "assign": { + "_do_validate": { "type": "object", "additionalProperties": false }, - "toJSON": { + "assign": { "type": "object", "additionalProperties": false }, @@ -4177,9 +4177,7 @@ "channel": { "$ref": "#/components/schemas/RateLimitOptions" }, - "auth": { - "$ref": "#/components/schemas/AuthRateLimit" - } + "auth": {} }, "required": [ "auth", @@ -4188,21 +4186,6 @@ "webhook" ] }, - "AuthRateLimit": { - "type": "object", - "properties": { - "login": { - "$ref": "#/components/schemas/RateLimitOptions" - }, - "register": { - "$ref": "#/components/schemas/RateLimitOptions" - } - }, - "required": [ - "login", - "register" - ] - }, "GlobalRateLimits": { "type": "object", "properties": { @@ -4243,10 +4226,10 @@ "PublicConnectedAccount": { "type": "object", "properties": { - "type": { + "name": { "type": "string" }, - "name": { + "type": { "type": "string" }, "verified": { @@ -5102,7 +5085,7 @@ "type": "boolean" }, "flags": { - "type": "string" + "type": "integer" }, "embeds": { "type": "array", @@ -5224,7 +5207,7 @@ "$ref": "#/components/schemas/Embed" }, "flags": { - "type": "string" + "type": "integer" }, "content": { "type": "string" @@ -6961,12 +6944,12 @@ "APIPrivateUser": { "type": "object", "properties": { - "flags": { - "type": "string" - }, "id": { "type": "string" }, + "flags": { + "type": "integer" + }, "premium_since": { "type": "string", "format": "date-time" @@ -7078,12 +7061,12 @@ "newToken": { "type": "string" }, - "flags": { - "type": "string" - }, "id": { "type": "string" }, + "flags": { + "type": "integer" + }, "premium_since": { "type": "string", "format": "date-time" @@ -7291,10 +7274,10 @@ "APIPublicMember": { "type": "object", "properties": { - "guild_id": { + "id": { "type": "string" }, - "id": { + "guild_id": { "type": "string" }, "nick": { @@ -7723,10 +7706,10 @@ "additionalProperties": false, "type": "object", "properties": { - "guild_id": { + "id": { "type": "string" }, - "id": { + "guild_id": { "type": "string" }, "nick": { |