re-build swagger documentation

This commit is contained in:
Bernhard B 2024-08-20 21:44:11 +02:00
parent 4bf70dd456
commit e1ea5932c9
3 changed files with 17 additions and 9 deletions

View File

@ -2186,6 +2186,9 @@ var doc = `{
"api.SendMessageError": { "api.SendMessageError": {
"type": "object", "type": "object",
"properties": { "properties": {
"account": {
"type": "string"
},
"challenge_tokens": { "challenge_tokens": {
"type": "array", "type": "array",
"items": { "items": {
@ -2252,6 +2255,9 @@ var doc = `{
"message": { "message": {
"type": "string" "type": "string"
}, },
"notify_self": {
"type": "boolean"
},
"number": { "number": {
"type": "string" "type": "string"
}, },
@ -2282,9 +2288,6 @@ var doc = `{
"normal", "normal",
"styled" "styled"
] ]
},
"notify_self": {
"type": "boolean"
} }
} }
}, },

View File

@ -2170,6 +2170,9 @@
"api.SendMessageError": { "api.SendMessageError": {
"type": "object", "type": "object",
"properties": { "properties": {
"account": {
"type": "string"
},
"challenge_tokens": { "challenge_tokens": {
"type": "array", "type": "array",
"items": { "items": {
@ -2236,6 +2239,9 @@
"message": { "message": {
"type": "string" "type": "string"
}, },
"notify_self": {
"type": "boolean"
},
"number": { "number": {
"type": "string" "type": "string"
}, },
@ -2266,9 +2272,6 @@
"normal", "normal",
"styled" "styled"
] ]
},
"notify_self": {
"type": "boolean"
} }
} }
}, },
@ -2592,4 +2595,4 @@
"name": "Sticker Packs" "name": "Sticker Packs"
} }
] ]
} }

View File

@ -130,6 +130,8 @@ definitions:
type: object type: object
api.SendMessageError: api.SendMessageError:
properties: properties:
account:
type: string
challenge_tokens: challenge_tokens:
items: items:
type: string type: string
@ -174,6 +176,8 @@ definitions:
type: string type: string
message: message:
type: string type: string
notify_self:
type: boolean
number: number:
type: string type: string
quote_author: quote_author:
@ -195,8 +199,6 @@ definitions:
- normal - normal
- styled - styled
type: string type: string
notify_self:
type: boolean
type: object type: object
api.SetUsernameRequest: api.SetUsernameRequest:
properties: properties: