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

index 64dc53c0..2dc78741 100644 --- a/assets/openapi.json +++ b/assets/openapi.json
@@ -7606,33 +7606,34 @@ ] }, "UserRelationsResponse": { - "type": "object", - "properties": { - "object": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "username": { - "type": "string" - }, - "avatar": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "public_flags": { - "type": "integer" - } + "type": "array", + "items": { + "additionalProperties": false, + "type": "object", + "properties": { + "id": { + "type": "string" }, - "additionalProperties": false - } - }, - "required": [ - "object" - ] + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "public_flags": { + "type": "integer" + } + }, + "required": [ + "discriminator", + "id", + "public_flags", + "username" + ] + } }, "WebAuthnCreateResponse": { "type": "object", diff --git a/assets/schemas.json b/assets/schemas.json
index 2c2abe8f..dc25cacd 100644 --- a/assets/schemas.json +++ b/assets/schemas.json
@@ -485211,34 +485211,34 @@ "$schema": "http://json-schema.org/draft-07/schema#" }, "UserRelationsResponse": { - "type": "object", - "properties": { - "object": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "username": { - "type": "string" - }, - "avatar": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "public_flags": { - "type": "integer" - } + "type": "array", + "items": { + "additionalProperties": false, + "type": "object", + "properties": { + "id": { + "type": "string" }, - "additionalProperties": false - } + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "public_flags": { + "type": "integer" + } + }, + "required": [ + "discriminator", + "id", + "public_flags", + "username" + ] }, - "additionalProperties": false, - "required": [ - "object" - ], "definitions": { "ChannelPermissionOverwriteType": { "enum": [