summary refs log tree commit diff
path: root/assets/schemas.json
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-12-21 10:43:07 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-12-21 10:43:07 +1100
commitb0989ff88cf2ba5edc4f560b7e15aedcfaae9b49 (patch)
treee69b077970d84fbbc000f4f4d0179ad81514d521 /assets/schemas.json
parentadd missing license headers (diff)
downloadserver-b0989ff88cf2ba5edc4f560b7e15aedcfaae9b49.tar.xz
update schemas.json and openapi.json
Diffstat (limited to '')
-rw-r--r--assets/schemas.json96
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": [