Fix UserRelationsResponse schema

This commit is contained in:
Madeline
2023-04-19 01:24:51 +10:00
parent cec495cc5f
commit 4c6b1e8e16
5 changed files with 63 additions and 90 deletions
+27 -26
View File
@@ -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",
+26 -26
View File
@@ -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": [