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

View file

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