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