diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-12-21 10:43:07 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-12-21 10:43:07 +1100 |
commit | b0989ff88cf2ba5edc4f560b7e15aedcfaae9b49 (patch) | |
tree | e69b077970d84fbbc000f4f4d0179ad81514d521 /assets/schemas.json | |
parent | add missing license headers (diff) | |
download | server-b0989ff88cf2ba5edc4f560b7e15aedcfaae9b49.tar.xz |
update schemas.json and openapi.json
Diffstat (limited to '')
-rw-r--r-- | assets/schemas.json | 96 |
1 files changed, 48 insertions, 48 deletions
diff --git a/assets/schemas.json b/assets/schemas.json index a0ab1697..ab8e0a3f 100644 --- a/assets/schemas.json +++ b/assets/schemas.json @@ -490966,29 +490966,35 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "UserRelationshipsResponse": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "type": { - "$ref": "#/definitions/RelationshipType" - }, - "nickname": { - "type": "null" + "UserRelationsResponse": { + "type": "array", + "items": { + "additionalProperties": false, + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "username": { + "type": "string" + }, + "discriminator": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "public_flags": { + "type": "integer" + } }, - "user": { - "$ref": "#/definitions/PublicUser" - } + "required": [ + "discriminator", + "id", + "public_flags", + "username" + ] }, - "additionalProperties": false, - "required": [ - "id", - "nickname", - "type", - "user" - ], "definitions": { "ChannelPermissionOverwriteType": { "enum": [ @@ -495185,35 +495191,29 @@ }, "$schema": "http://json-schema.org/draft-07/schema#" }, - "UserRelationsResponse": { - "type": "array", - "items": { - "additionalProperties": false, - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "username": { - "type": "string" - }, - "discriminator": { - "type": "string" - }, - "avatar": { - "type": "string" - }, - "public_flags": { - "type": "integer" - } + "UserRelationshipsResponse": { + "type": "object", + "properties": { + "id": { + "type": "string" }, - "required": [ - "discriminator", - "id", - "public_flags", - "username" - ] + "type": { + "$ref": "#/definitions/RelationshipType" + }, + "nickname": { + "type": "null" + }, + "user": { + "$ref": "#/definitions/PublicUser" + } }, + "additionalProperties": false, + "required": [ + "id", + "nickname", + "type", + "user" + ], "definitions": { "ChannelPermissionOverwriteType": { "enum": [ |