Merge pull request #8634 from sandhose/fix-swagger-spec

Fix the swagger API definition
This commit is contained in:
Wang Yan 2019-08-21 13:28:05 +08:00 committed by GitHub
commit 6d663a88e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -333,10 +333,10 @@ paths:
description: Illegal format of provided ID value. description: Illegal format of provided ID value.
'401': '401':
description: User need to log in first. description: User need to log in first.
'404':
description: Project ID does not exist.
'403': '403':
description: User does not have permission to get summary of the project. description: User does not have permission to get summary of the project.
'404':
description: Project ID does not exist.
'500': '500':
description: Unexpected internal errors. description: Unexpected internal errors.
'/projects/{project_id}/metadatas': '/projects/{project_id}/metadatas':
@ -2385,10 +2385,10 @@ paths:
$ref: '#/definitions/Namespace' $ref: '#/definitions/Namespace'
'401': '401':
description: User need to login first. description: User need to login first.
'404':
description: No registry found.
'403': '403':
description: User has no privilege for the operation. description: User has no privilege for the operation.
'404':
description: No registry found.
'500': '500':
description: Unexpected internal errors. description: Unexpected internal errors.
/internal/syncregistry: /internal/syncregistry: