diff --git a/src/docs/docs.go b/src/docs/docs.go index 0c33fe8..cb80f03 100644 --- a/src/docs/docs.go +++ b/src/docs/docs.go @@ -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" } } }