Skip to content

Commit

Permalink
update Swagger documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard B committed Apr 27, 2024
1 parent 451010c commit 193a9f1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1449,6 +1449,12 @@ var doc = `{
"description": "Specify the maximum number of messages to receive (default: unlimited)",
"name": "max_messages",
"in": "query"
},
{
"type": "string",
"description": "Specify whether read receipts should be sent when receiving messages",
"name": "send_read_receipts",
"in": "query"
}
],
"responses": {
Expand Down
6 changes: 6 additions & 0 deletions src/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1433,6 +1433,12 @@
"description": "Specify the maximum number of messages to receive (default: unlimited)",
"name": "max_messages",
"in": "query"
},
{
"type": "string",
"description": "Specify whether read receipts should be sent when receiving messages",
"name": "send_read_receipts",
"in": "query"
}
],
"responses": {
Expand Down
4 changes: 4 additions & 0 deletions src/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1303,6 +1303,10 @@ paths:
in: query
name: max_messages
type: string
- description: Specify whether read receipts should be sent when receiving messages
in: query
name: send_read_receipts
type: string
produces:
- application/json
responses:
Expand Down

0 comments on commit 193a9f1

Please sign in to comment.