1
0
Fork 0

modify response for adding abuse in openapi spec

closes #4093
This commit is contained in:
Rigel Kent 2021-05-13 23:37:35 +02:00
parent ca98c8f844
commit 65cb01a252
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
1 changed files with 11 additions and 1 deletions

View File

@ -2236,8 +2236,18 @@ paths:
required: required:
- reason - reason
responses: responses:
'204': '200':
description: successful operation description: successful operation
content:
application/json:
schema:
type: object
properties:
abuse:
type: object
properties:
id:
$ref: '#/components/schemas/id'
'400': '400':
description: incorrect request parameters description: incorrect request parameters
'/abuses/{abuseId}': '/abuses/{abuseId}':