updated docs

This commit is contained in:
Bernhard B
2020-10-05 18:25:42 +02:00
parent d4e27e4882
commit 023d10f648

View File

@@ -169,18 +169,8 @@ var doc = `{
},
"/v1/qrcodelink": {
"get": {
"parameters": [
{
"in": "query",
"name": "device_name",
"type": "string",
"required": true,
"description": "The name of the device is being linked. This name will be shown in Signal as device."
}
],
"description": "Returns a QR-Code image. In case of an error a JSON object will be returned. Due to security reason of Signal, the provided QR-Code will change with each request.",
"description": "test",
"produces": [
"image/png".
"application/json"
],
"tags": [
@@ -189,14 +179,9 @@ var doc = `{
"summary": "Link device and generate QR code.",
"responses": {
"200": {
"description": "Ok",
"content":
"image"
},
"400": {
"description": "Bad Request",
"description": "Image",
"schema": {
"$ref": "#/definitions/api.Error"
"type": "string"
}
}
}