let apiserver support api discovery

This commit is contained in:
Chao Xu
2015-09-14 20:55:18 -07:00
parent cad5f03311
commit 1278771b34
16 changed files with 277 additions and 49 deletions

View File

@@ -9,6 +9,10 @@
"path": "/api",
"description": "get available API versions"
},
{
"path": "/apis",
"description": "get available API versions"
},
{
"path": "/version",
"description": "git code version from which this is built"

View File

@@ -10950,6 +10950,25 @@
]
}
]
},
{
"path": "/api/v1",
"description": "API at /api/v1 version v1",
"operations": [
{
"type": "void",
"method": "GET",
"summary": "get available resources",
"nickname": "getAPIResources",
"parameters": [],
"produces": [
"application/json"
],
"consumes": [
"application/json"
]
}
]
}
],
"models": {