generate openapi

This commit is contained in:
Madeline 2023-08-07 12:47:52 +10:00
parent 325e8f435f
commit 3d0fdc8a1b
No known key found for this signature in database
GPG Key ID: 80D25DA3BCB24281

View File

@ -1444,8 +1444,8 @@
"type": "string"
},
"flags": {
"type": "string",
"default": "0"
"type": "integer",
"default": 0
},
"public_flags": {
"type": "integer",
@ -2176,7 +2176,7 @@
]
},
"flags": {
"type": "string"
"type": "integer"
},
"message_reference": {
"type": "object",
@ -3631,12 +3631,15 @@
"APIGuild": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
"name": {
"id": {
"type": "string"
},
"icon": {
@ -3669,8 +3672,9 @@
"$ref": "#/components/schemas/Webhook"
}
},
"id": {
"type": "string"
"toJSON": {
"type": "object",
"additionalProperties": false
},
"_do_validate": {
"type": "object",
@ -3680,10 +3684,6 @@
"type": "object",
"additionalProperties": false
},
"toJSON": {
"type": "object",
"additionalProperties": false
},
"hasId": {
"description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
"type": "object",
@ -4177,9 +4177,7 @@
"channel": {
"$ref": "#/components/schemas/RateLimitOptions"
},
"auth": {
"$ref": "#/components/schemas/AuthRateLimit"
}
"auth": {}
},
"required": [
"auth",
@ -4188,21 +4186,6 @@
"webhook"
]
},
"AuthRateLimit": {
"type": "object",
"properties": {
"login": {
"$ref": "#/components/schemas/RateLimitOptions"
},
"register": {
"$ref": "#/components/schemas/RateLimitOptions"
}
},
"required": [
"login",
"register"
]
},
"GlobalRateLimits": {
"type": "object",
"properties": {
@ -4243,10 +4226,10 @@
"PublicConnectedAccount": {
"type": "object",
"properties": {
"type": {
"name": {
"type": "string"
},
"name": {
"type": {
"type": "string"
},
"verified": {
@ -5102,7 +5085,7 @@
"type": "boolean"
},
"flags": {
"type": "string"
"type": "integer"
},
"embeds": {
"type": "array",
@ -5224,7 +5207,7 @@
"$ref": "#/components/schemas/Embed"
},
"flags": {
"type": "string"
"type": "integer"
},
"content": {
"type": "string"
@ -6961,12 +6944,12 @@
"APIPrivateUser": {
"type": "object",
"properties": {
"flags": {
"type": "string"
},
"id": {
"type": "string"
},
"flags": {
"type": "integer"
},
"premium_since": {
"type": "string",
"format": "date-time"
@ -7078,12 +7061,12 @@
"newToken": {
"type": "string"
},
"flags": {
"type": "string"
},
"id": {
"type": "string"
},
"flags": {
"type": "integer"
},
"premium_since": {
"type": "string",
"format": "date-time"
@ -7291,10 +7274,10 @@
"APIPublicMember": {
"type": "object",
"properties": {
"guild_id": {
"id": {
"type": "string"
},
"id": {
"guild_id": {
"type": "string"
},
"nick": {
@ -7723,10 +7706,10 @@
"additionalProperties": false,
"type": "object",
"properties": {
"guild_id": {
"id": {
"type": "string"
},
"id": {
"guild_id": {
"type": "string"
},
"nick": {