Add validation on route PutVoteOnArticle

This commit is contained in:
2021-04-15 02:20:57 +02:00
parent 496cf50d88
commit 0588f88f9a
3 changed files with 73 additions and 13 deletions

View File

@@ -1312,6 +1312,12 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/VoteAggregation'
400:
description: BadReqest
content:
application/json:
schema:
$ref: '#/components/schemas/400'
401:
$ref: '#/components/responses/401'