Add validation on route CreateCommentArticle

This commit is contained in:
2021-04-09 00:58:35 +02:00
parent 13cdaaf01a
commit a07b19a3cb
4 changed files with 68 additions and 18 deletions

View File

@@ -563,6 +563,12 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/CommentResponse'
400:
description: BadReqest
content:
application/json:
schema:
$ref: '#/components/schemas/400'
401:
$ref: '#/components/responses/401'
/comments/{comment}: