Updated federation swagger spec

This commit is contained in:
nikhiljindal 2016-09-02 15:30:11 -07:00
parent a51d79110c
commit 556fa932dd
2 changed files with 56 additions and 3 deletions

View File

@ -2821,7 +2821,7 @@
},
"flexVolume": {
"$ref": "v1.FlexVolumeSource",
"description": "FlexVolume represents a generic volume resource that is provisioned/attached using a exec based plugin. This is an alpha feature and may change in future."
"description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future."
},
"cinder": {
"$ref": "v1.CinderVolumeSource",
@ -3160,7 +3160,7 @@
},
"v1.FlexVolumeSource": {
"id": "v1.FlexVolumeSource",
"description": "FlexVolume represents a generic volume resource that is provisioned/attached using a exec based plugin. This is an alpha feature and may change in future.",
"description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.",
"required": [
"driver"
],
@ -3352,7 +3352,7 @@
"items": {
"type": "string"
},
"description": "Required: FC target world wide names (WWNs)"
"description": "Required: FC target worldwide names (WWNs)"
},
"lun": {
"type": "integer",

View File

@ -1345,6 +1345,59 @@
}
]
},
{
"path": "/api/v1/namespaces/{name}/finalize",
"description": "API at /api/v1",
"operations": [
{
"type": "v1.Namespace",
"method": "PUT",
"summary": "replace finalize of the specified Namespace",
"nickname": "replaceNamespaceFinalize",
"parameters": [
{
"type": "string",
"paramType": "query",
"name": "pretty",
"description": "If 'true', then the output is pretty printed.",
"required": false,
"allowMultiple": false
},
{
"type": "v1.Namespace",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Namespace",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1.Namespace"
}
],
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf"
],
"consumes": [
"*/*"
]
}
]
},
{
"path": "/api/v1/namespaces/{name}/status",
"description": "API at /api/v1",