fix imports list response in openapi spec

closes #4063
This commit is contained in:
Rigel Kent 2021-05-10 11:02:54 +02:00
parent 30b40713f4
commit 5844dde3b8
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F

View File

@ -707,7 +707,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/VideoImport'
$ref: '#/components/schemas/VideoImportsList'
/users/me/video-quota-used:
get:
summary: Get my user used quota
@ -4727,6 +4727,16 @@ components:
format: date-time
video:
$ref: '#/components/schemas/Video'
VideoImportsList:
properties:
total:
type: integer
example: 1
data:
type: array
maxItems: 100
items:
$ref: '#/components/schemas/VideoImport'
Abuse:
properties:
id: