Chore: Update Swagger API docs (#608)

This commit is contained in:
Pranav Raj S
2020-03-11 16:19:13 +05:30
committed by GitHub
parent a5b1e2b650
commit 260e40831a
23 changed files with 1014 additions and 463 deletions

View File

@@ -8,10 +8,21 @@ post:
- name: id
in: path
type: number
description: id of the conversation
description: ID of the conversation
required: true
- name: data
in: body
required: true
schema:
type: object
properties:
status:
type: string
enum: ["open", "resolved"]
required: true
description: The status of the conversation
responses:
204:
200:
description: Success
schema:
$ref: '#/definitions/conversation_status_toggle'