mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-16 20:01:35 +01:00
fix(swagger): fix the definition of errors
Signed-off-by: chlins <chlins.zhang@gmail.com>
This commit is contained in:
parent
3d3fabbd20
commit
487e8b43ab
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user