fix: Update param name for attachments (#2921)
This commit is contained in:
parent
65f3e83afd
commit
588f49cc34
2 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ post:
|
||||||
- Messages
|
- Messages
|
||||||
operationId: conversationNewMessageAttachment
|
operationId: conversationNewMessageAttachment
|
||||||
summary: Create New Message Attachment
|
summary: Create New Message Attachment
|
||||||
description: Create an attachment Message
|
description: Create an attachment message. Refer to this discussion if you have any further doubts. https://github.com/chatwoot/chatwoot/discussions/1809#discussioncomment-1211845
|
||||||
consumes:
|
consumes:
|
||||||
- multipart/form-data
|
- multipart/form-data
|
||||||
security:
|
security:
|
||||||
|
@ -27,7 +27,7 @@ post:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Flag to identify if it is a private note
|
description: Flag to identify if it is a private note
|
||||||
- in: formData
|
- in: formData
|
||||||
name: attachments
|
name: attachments[]
|
||||||
type: array
|
type: array
|
||||||
description: The files to be uploaded.
|
description: The files to be uploaded.
|
||||||
items:
|
items:
|
||||||
|
|
|
@ -2109,7 +2109,7 @@
|
||||||
],
|
],
|
||||||
"operationId": "conversationNewMessageAttachment",
|
"operationId": "conversationNewMessageAttachment",
|
||||||
"summary": "Create New Message Attachment",
|
"summary": "Create New Message Attachment",
|
||||||
"description": "Create an attachment Message",
|
"description": "Create an attachment message. Refer to this discussion if you have any further doubts. https://github.com/chatwoot/chatwoot/discussions/1809#discussioncomment-1211845",
|
||||||
"consumes": [
|
"consumes": [
|
||||||
"multipart/form-data"
|
"multipart/form-data"
|
||||||
],
|
],
|
||||||
|
@ -2156,7 +2156,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"in": "formData",
|
"in": "formData",
|
||||||
"name": "attachments",
|
"name": "attachments[]",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "The files to be uploaded.",
|
"description": "The files to be uploaded.",
|
||||||
"items": {
|
"items": {
|
||||||
|
|
Loading…
Reference in a new issue