Commit 487e8b43 authored by chlins's avatar chlins
Browse files

fix(swagger): fix the definition of errors

Signed-off-by: default avatarchlins <chlins.zhang@gmail.com>
parent 3d3fabbd
Showing with 6 additions and 3 deletions
+6 -3
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment