summary refs log tree commit diff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/openapi.json14
-rw-r--r--assets/schemas.json20
2 files changed, 22 insertions, 12 deletions
diff --git a/assets/openapi.json b/assets/openapi.json

index 069eaced..7e1f3cac 100644 --- a/assets/openapi.json +++ b/assets/openapi.json
@@ -20,15 +20,13 @@ } }, "components": { - "securitySchemes": [ - { - "bearer": { - "type": "http", - "scheme": "bearer", - "description": "Bearer/Bot prefixes are not required." - } + "securitySchemes": { + "bearer": { + "type": "http", + "scheme": "bearer", + "description": "Bearer/Bot prefixes are not required." } - ], + }, "schemas": { "SelectProtocolSchema": { "type": "object", diff --git a/assets/schemas.json b/assets/schemas.json
index a0c6d173..3c7e60a8 100644 --- a/assets/schemas.json +++ b/assets/schemas.json
@@ -26292,8 +26292,14 @@ "type": "boolean" }, "mute_config": { - "nullable": true, - "$ref": "#/definitions/MuteConfig" + "anyOf": [ + { + "$ref": "#/definitions/MuteConfig" + }, + { + "type": "null" + } + ] }, "muted": { "type": "boolean" @@ -28417,8 +28423,14 @@ "type": "boolean" }, "custom_status": { - "nullable": true, - "$ref": "#/definitions/CustomStatus" + "anyOf": [ + { + "$ref": "#/definitions/CustomStatus" + }, + { + "type": "null" + } + ] }, "default_guilds_restricted": { "type": "boolean"