fix(swagger): fix the definition of errors

Signed-off-by: chlins <chlins.zhang@gmail.com>
This commit is contained in:
chlins 2020-08-04 12:21:50 +08:00
parent 3d3fabbd20
commit 487e8b43ab

View File

@ -1349,9 +1349,12 @@ responses:
definitions:
Errors:
description: The error array that describe the errors got during the handling of request
type: array
items:
$ref: '#/definitions/Error'
type: object
properties:
errors:
type: array
items:
$ref: '#/definitions/Error'
Error:
description: a model for all the error response coming from harbor
type: object