Merge pull request #6519 from mweigel/master

Minor corrections to swagger spec
This commit is contained in:
Wenkai Yin 2018-12-12 17:27:31 +08:00 committed by GitHub
commit 5ae7e60b73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3015,7 +3015,7 @@ paths:
$ref: '#/definitions/InternalChartAPIError' $ref: '#/definitions/InternalChartAPIError'
'507': '507':
$ref: '#/definitions/InsufficientStorageChartAPIError' $ref: '#/definitions/InsufficientStorageChartAPIError'
/chartrepo/:repo/charts/:name/:version/labels: /chartrepo/{repo}/charts/{name}/{version}/labels:
get: get:
summary: Return the attahced labels of chart. summary: Return the attahced labels of chart.
description: Return the attahced labels of the specified chart version. description: Return the attahced labels of the specified chart version.
@ -3094,7 +3094,7 @@ paths:
$ref: '#/definitions/ConflictFormatedError' $ref: '#/definitions/ConflictFormatedError'
'500': '500':
$ref: '#/definitions/InternalChartAPIError' $ref: '#/definitions/InternalChartAPIError'
/chartrepo/:repo/charts/:name/:version/labels/:id: /chartrepo/{repo}/charts/{name}/{version}/labels/{id}:
delete: delete:
summary: Remove label from chart. summary: Remove label from chart.
description: Remove label from the specified chart version. description: Remove label from the specified chart version.
@ -4513,4 +4513,4 @@ definitions:
type: array type: array
description: A list of label description: A list of label
items: items:
$ref: '#/definitions/Label' $ref: '#/definitions/Label'