mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-20 16:14:29 +01:00
improved swagger documentation
* documented styling options in v2/send endpoint
This commit is contained in:
@@ -2014,7 +2014,7 @@ const docTemplate = `{
|
||||
},
|
||||
"/v2/send": {
|
||||
"post": {
|
||||
"description": "Send a signal message. Set the text_mode to 'styled' in case you want to add formatting to your text message. Styling Options: *italic text*, **bold text**, ~strikethrough text~. If you want to escape a formatting character, prefix it with two backslashes ('\\\\')",
|
||||
"description": "Send a signal message. Set the text_mode to 'styled' in case you want to add formatting to your text message. Styling Options: \\*italic text\\*, \\*\\*bold text\\*\\*, ~strikethrough text~, ||spoiler||, \\` + "`" + `monospace\\` + "`" + `. If you want to escape a formatting character, prefix it with two backslashes.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
|
||||
@@ -2011,7 +2011,7 @@
|
||||
},
|
||||
"/v2/send": {
|
||||
"post": {
|
||||
"description": "Send a signal message. Set the text_mode to 'styled' in case you want to add formatting to your text message. Styling Options: *italic text*, **bold text**, ~strikethrough text~. If you want to escape a formatting character, prefix it with two backslashes ('\\\\')",
|
||||
"description": "Send a signal message. Set the text_mode to 'styled' in case you want to add formatting to your text message. Styling Options: \\*italic text\\*, \\*\\*bold text\\*\\*, ~strikethrough text~, ||spoiler||, \\`monospace\\`. If you want to escape a formatting character, prefix it with two backslashes.",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
|
||||
@@ -1753,9 +1753,9 @@ paths:
|
||||
consumes:
|
||||
- application/json
|
||||
description: 'Send a signal message. Set the text_mode to ''styled'' in case
|
||||
you want to add formatting to your text message. Styling Options: *italic
|
||||
text*, **bold text**, ~strikethrough text~. If you want to escape a formatting
|
||||
character, prefix it with two backslashes (''\\'')'
|
||||
you want to add formatting to your text message. Styling Options: \*italic
|
||||
text\*, \*\*bold text\*\*, ~strikethrough text~, ||spoiler||, \`monospace\`.
|
||||
If you want to escape a formatting character, prefix it with two backslashes.'
|
||||
parameters:
|
||||
- description: Input Data
|
||||
in: body
|
||||
|
||||
Reference in New Issue
Block a user