paginate response for abuse list in openapi spec

closes #4094
pull/4113/head
Rigel Kent 2021-05-13 23:40:34 +02:00
parent 65cb01a252
commit c76ecc3ff7
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
1 changed files with 9 additions and 3 deletions

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