Update swagger spec

pull/6/head
Clayton Coleman 2015-04-11 11:20:22 -04:00
parent 0225d76b6a
commit d9161a1f41
6 changed files with 286 additions and 14 deletions

View File

@ -24,4 +24,4 @@
] ]
} }
] ]
} }

View File

@ -27,4 +27,4 @@
"title": "", "title": "",
"description": "" "description": ""
} }
} }

View File

@ -1919,6 +1919,49 @@
} }
] ]
}, },
{
"path": "/api/v1beta1/minions/{name}/status",
"description": "API at /api/v1beta1 version v1beta1",
"operations": [
{
"type": "v1beta1.Minion",
"method": "PUT",
"summary": "replace the specified Node",
"nickname": "replaceNode",
"parameters": [
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Node",
"required": true,
"allowMultiple": false
},
{
"type": "v1beta1.Minion",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta1.Minion"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
}
]
},
{ {
"path": "/api/v1beta1/namespaces", "path": "/api/v1beta1/namespaces",
"description": "API at /api/v1beta1 version v1beta1", "description": "API at /api/v1beta1 version v1beta1",
@ -2977,6 +3020,49 @@
} }
] ]
}, },
{
"path": "/api/v1beta1/nodes/{name}/status",
"description": "API at /api/v1beta1 version v1beta1",
"operations": [
{
"type": "v1beta1.Minion",
"method": "PUT",
"summary": "replace the specified Node",
"nickname": "replaceNode",
"parameters": [
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Node",
"required": true,
"allowMultiple": false
},
{
"type": "v1beta1.Minion",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta1.Minion"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
}
]
},
{ {
"path": "/api/v1beta1/persistentVolumeClaims", "path": "/api/v1beta1/persistentVolumeClaims",
"description": "API at /api/v1beta1 version v1beta1", "description": "API at /api/v1beta1 version v1beta1",
@ -4615,6 +4701,14 @@
"summary": "create a Binding", "summary": "create a Binding",
"nickname": "createBinding", "nickname": "createBinding",
"parameters": [ "parameters": [
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Binding",
"required": true,
"allowMultiple": false
},
{ {
"type": "string", "type": "string",
"paramType": "query", "paramType": "query",
@ -6913,7 +7007,6 @@
"required": [ "required": [
"name", "name",
"image", "image",
"entrypoint:omitempty",
"imagePullPolicy" "imagePullPolicy"
], ],
"properties": { "properties": {
@ -6933,7 +7026,7 @@
"format": "int32", "format": "int32",
"description": "CPU share in thousandths of a core; cannot be updated" "description": "CPU share in thousandths of a core; cannot be updated"
}, },
"entrypoint:omitempty": { "entrypoint": {
"type": "array", "type": "array",
"items": { "items": {
"type": "string" "type": "string"
@ -8634,9 +8727,9 @@
"v1beta1.PersistentVolumeSpec": { "v1beta1.PersistentVolumeSpec": {
"id": "v1beta1.PersistentVolumeSpec", "id": "v1beta1.PersistentVolumeSpec",
"required": [ "required": [
"persistentDisk",
"hostPath", "hostPath",
"glusterfs", "glusterfs"
"persistentDisk"
], ],
"properties": { "properties": {
"accessModes": { "accessModes": {
@ -9800,4 +9893,4 @@
} }
} }
} }
} }

View File

@ -1919,6 +1919,49 @@
} }
] ]
}, },
{
"path": "/api/v1beta2/minions/{name}/status",
"description": "API at /api/v1beta2 version v1beta2",
"operations": [
{
"type": "v1beta2.Minion",
"method": "PUT",
"summary": "replace the specified Node",
"nickname": "replaceNode",
"parameters": [
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Node",
"required": true,
"allowMultiple": false
},
{
"type": "v1beta2.Minion",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta2.Minion"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
}
]
},
{ {
"path": "/api/v1beta2/namespaces", "path": "/api/v1beta2/namespaces",
"description": "API at /api/v1beta2 version v1beta2", "description": "API at /api/v1beta2 version v1beta2",
@ -2977,6 +3020,49 @@
} }
] ]
}, },
{
"path": "/api/v1beta2/nodes/{name}/status",
"description": "API at /api/v1beta2 version v1beta2",
"operations": [
{
"type": "v1beta2.Minion",
"method": "PUT",
"summary": "replace the specified Node",
"nickname": "replaceNode",
"parameters": [
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Node",
"required": true,
"allowMultiple": false
},
{
"type": "v1beta2.Minion",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta2.Minion"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
}
]
},
{ {
"path": "/api/v1beta2/persistentVolumeClaims", "path": "/api/v1beta2/persistentVolumeClaims",
"description": "API at /api/v1beta2 version v1beta2", "description": "API at /api/v1beta2 version v1beta2",
@ -4615,6 +4701,14 @@
"summary": "create a Binding", "summary": "create a Binding",
"nickname": "createBinding", "nickname": "createBinding",
"parameters": [ "parameters": [
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Binding",
"required": true,
"allowMultiple": false
},
{ {
"type": "string", "type": "string",
"paramType": "query", "paramType": "query",
@ -6913,7 +7007,6 @@
"required": [ "required": [
"name", "name",
"image", "image",
"entrypoint:omitempty",
"imagePullPolicy" "imagePullPolicy"
], ],
"properties": { "properties": {
@ -6933,7 +7026,7 @@
"format": "int32", "format": "int32",
"description": "CPU share in thousandths of a core; cannot be updated" "description": "CPU share in thousandths of a core; cannot be updated"
}, },
"entrypoint:omitempty": { "entrypoint": {
"type": "array", "type": "array",
"items": { "items": {
"type": "string" "type": "string"
@ -9781,4 +9874,4 @@
} }
} }
} }
} }

View File

@ -1663,6 +1663,49 @@
} }
] ]
}, },
{
"path": "/api/v1beta3/minions/{name}/status",
"description": "API at /api/v1beta3 version v1beta3",
"operations": [
{
"type": "v1beta3.Node",
"method": "PUT",
"summary": "replace the specified Node",
"nickname": "replaceNode",
"parameters": [
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Node",
"required": true,
"allowMultiple": false
},
{
"type": "v1beta3.Node",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta3.Node"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
}
]
},
{ {
"path": "/api/v1beta3/namespaces", "path": "/api/v1beta3/namespaces",
"description": "API at /api/v1beta3 version v1beta3", "description": "API at /api/v1beta3 version v1beta3",
@ -2721,6 +2764,49 @@
} }
] ]
}, },
{
"path": "/api/v1beta3/nodes/{name}/status",
"description": "API at /api/v1beta3 version v1beta3",
"operations": [
{
"type": "v1beta3.Node",
"method": "PUT",
"summary": "replace the specified Node",
"nickname": "replaceNode",
"parameters": [
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Node",
"required": true,
"allowMultiple": false
},
{
"type": "v1beta3.Node",
"paramType": "body",
"name": "body",
"description": "",
"required": true,
"allowMultiple": false
}
],
"responseMessages": [
{
"code": 200,
"message": "OK",
"responseModel": "v1beta3.Node"
}
],
"produces": [
"application/json"
],
"consumes": [
"*/*"
]
}
]
},
{ {
"path": "/api/v1beta3/namespaces/{namespaces}/persistentvolumeclaims", "path": "/api/v1beta3/namespaces/{namespaces}/persistentvolumeclaims",
"description": "API at /api/v1beta3 version v1beta3", "description": "API at /api/v1beta3 version v1beta3",
@ -9778,14 +9864,14 @@
"id": "v1beta3.Volume", "id": "v1beta3.Volume",
"required": [ "required": [
"name", "name",
"gcePersistentDisk",
"gitRepo", "gitRepo",
"secret", "secret",
"nfs", "nfs",
"iscsi", "iscsi",
"glusterfs", "glusterfs",
"hostPath", "hostPath",
"emptyDir", "emptyDir"
"gcePersistentDisk"
], ],
"properties": { "properties": {
"emptyDir": { "emptyDir": {
@ -9848,4 +9934,4 @@
} }
} }
} }
} }

View File

@ -24,4 +24,4 @@
] ]
} }
] ]
} }