Skip to content

Commit

Permalink
Update swagger spec
Browse files Browse the repository at this point in the history
  • Loading branch information
smarterclayton committed Apr 11, 2015
1 parent 0225d76 commit d9161a1
Show file tree
Hide file tree
Showing 6 changed files with 286 additions and 14 deletions.
2 changes: 1 addition & 1 deletion api/swagger-spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@
]
}
]
}
}
2 changes: 1 addition & 1 deletion api/swagger-spec/resourceListing.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
"title": "",
"description": ""
}
}
}
103 changes: 98 additions & 5 deletions api/swagger-spec/v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"description": "API at /api/v1beta1 version v1beta1",
Expand Down Expand Up @@ -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",
"description": "API at /api/v1beta1 version v1beta1",
Expand Down Expand Up @@ -4615,6 +4701,14 @@
"summary": "create a Binding",
"nickname": "createBinding",
"parameters": [
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Binding",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "query",
Expand Down Expand Up @@ -6913,7 +7007,6 @@
"required": [
"name",
"image",
"entrypoint:omitempty",
"imagePullPolicy"
],
"properties": {
Expand All @@ -6933,7 +7026,7 @@
"format": "int32",
"description": "CPU share in thousandths of a core; cannot be updated"
},
"entrypoint:omitempty": {
"entrypoint": {
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -8634,9 +8727,9 @@
"v1beta1.PersistentVolumeSpec": {
"id": "v1beta1.PersistentVolumeSpec",
"required": [
"persistentDisk",
"hostPath",
"glusterfs",
"persistentDisk"
"glusterfs"
],
"properties": {
"accessModes": {
Expand Down Expand Up @@ -9800,4 +9893,4 @@
}
}
}
}
}
99 changes: 96 additions & 3 deletions api/swagger-spec/v1beta2.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"description": "API at /api/v1beta2 version v1beta2",
Expand Down Expand Up @@ -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",
"description": "API at /api/v1beta2 version v1beta2",
Expand Down Expand Up @@ -4615,6 +4701,14 @@
"summary": "create a Binding",
"nickname": "createBinding",
"parameters": [
{
"type": "string",
"paramType": "path",
"name": "name",
"description": "name of the Binding",
"required": true,
"allowMultiple": false
},
{
"type": "string",
"paramType": "query",
Expand Down Expand Up @@ -6913,7 +7007,6 @@
"required": [
"name",
"image",
"entrypoint:omitempty",
"imagePullPolicy"
],
"properties": {
Expand All @@ -6933,7 +7026,7 @@
"format": "int32",
"description": "CPU share in thousandths of a core; cannot be updated"
},
"entrypoint:omitempty": {
"entrypoint": {
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -9781,4 +9874,4 @@
}
}
}
}
}
Loading

0 comments on commit d9161a1

Please sign in to comment.