updated swagger documentation for receive endpoint

This commit is contained in:
Bernhard B
2021-10-18 18:45:41 +02:00
parent 8963fd638e
commit 02f360e42c
4 changed files with 4 additions and 4 deletions

View File

@@ -330,7 +330,7 @@ func wsPing(ws *websocket.Conn) {
// @Summary Receive Signal Messages.
// @Tags Messages
// @Description Receives Signal Messages from the Signal Network.
// @Description Receives Signal Messages from the Signal Network. If you are running the docker container in normal/native mode, this is a GET endpoint. In json-rpc mode this is a websocket endpoint.
// @Accept json
// @Produce json
// @Success 200 {object} []string

View File

@@ -696,7 +696,7 @@ var doc = `{
},
"/v1/receive/{number}": {
"get": {
"description": "Receives Signal Messages from the Signal Network.",
"description": "Receives Signal Messages from the Signal Network. If you are running the docker container in normal/native mode, this is a GET endpoint. In json-rpc mode this is a websocket endpoint.",
"consumes": [
"application/json"
],

View File

@@ -681,7 +681,7 @@
},
"/v1/receive/{number}": {
"get": {
"description": "Receives Signal Messages from the Signal Network.",
"description": "Receives Signal Messages from the Signal Network. If you are running the docker container in normal/native mode, this is a GET endpoint. In json-rpc mode this is a websocket endpoint.",
"consumes": [
"application/json"
],

View File

@@ -615,7 +615,7 @@ paths:
get:
consumes:
- application/json
description: Receives Signal Messages from the Signal Network.
description: Receives Signal Messages from the Signal Network. If you are running the docker container in normal/native mode, this is a GET endpoint. In json-rpc mode this is a websocket endpoint.
parameters:
- description: Registered Phone Number
in: path