Fix comment body api doc

pull/2677/head
Chocobozzz 2020-04-21 15:28:17 +02:00
parent 50e16ccf61
commit 98639806c0
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 24 additions and 0 deletions

View File

@ -1808,6 +1808,18 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/CommentThreadPostResponse'
requestBody:
content:
application/json:
schema:
type: object
properties:
text:
type: string
description: 'Text comment'
required:
- text
'/videos/{id}/comment-threads/{threadId}':
get:
summary: Get a thread
@ -1840,6 +1852,18 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/CommentThreadPostResponse'
requestBody:
content:
application/json:
schema:
type: object
properties:
text:
type: string
description: 'Text comment'
required:
- text
delete:
summary: Delete a comment or a reply
security: