mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-09-15 05:22:55 +00:00
updated swagger docs
This commit is contained in:
parent
fd9bdae583
commit
8cc38d439a
@ -372,17 +372,6 @@ const docTemplate = `{
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"api.SendMessageResponse": {
|
||||
"properties": {
|
||||
"timestamp": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"timestamp"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"api.SendMessageV1": {
|
||||
"properties": {
|
||||
"base64_attachment": {
|
||||
@ -1108,6 +1097,48 @@ const docTemplate = `{
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"data.SendMessageError": {
|
||||
"properties": {
|
||||
"number": {
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"uuid": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"data.SendMessageErrors": {
|
||||
"properties": {
|
||||
"recipients": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/data.SendMessageError"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"data.SendMessageResponse": {
|
||||
"properties": {
|
||||
"errors": {
|
||||
"$ref": "#/definitions/data.SendMessageErrors"
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"timestamp"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"receive.AdminDelete": {
|
||||
"properties": {
|
||||
"targetAuthor": {
|
||||
@ -5035,7 +5066,7 @@ const docTemplate = `{
|
||||
"201": {
|
||||
"description": "Created",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.SendMessageResponse"
|
||||
"$ref": "#/definitions/data.SendMessageResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
|
||||
@ -367,17 +367,6 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"api.SendMessageResponse": {
|
||||
"properties": {
|
||||
"timestamp": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"timestamp"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"api.SendMessageV1": {
|
||||
"properties": {
|
||||
"base64_attachment": {
|
||||
@ -1103,6 +1092,48 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"data.SendMessageError": {
|
||||
"properties": {
|
||||
"number": {
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"uuid": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"data.SendMessageErrors": {
|
||||
"properties": {
|
||||
"recipients": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/data.SendMessageError"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"data.SendMessageResponse": {
|
||||
"properties": {
|
||||
"errors": {
|
||||
"$ref": "#/definitions/data.SendMessageErrors"
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"timestamp"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"receive.AdminDelete": {
|
||||
"properties": {
|
||||
"targetAuthor": {
|
||||
@ -5030,7 +5061,7 @@
|
||||
"201": {
|
||||
"description": "Created",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.SendMessageResponse"
|
||||
"$ref": "#/definitions/data.SendMessageResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user