paginate response for abuse list in openapi spec

closes #4094
This commit is contained in:
Rigel Kent
2021-05-13 23:40:34 +02:00
parent 65cb01a252
commit c76ecc3ff7

View File

@@ -2309,9 +2309,15 @@ paths:
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/AbuseMessage'
type: object
properties:
total:
type: integer
example: 1
data:
type: array
items:
$ref: '#/components/schemas/AbuseMessage'
post:
summary: Add message to an abuse