mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 10:20:20 +00:00
77 lines
1.3 KiB
JSON
77 lines
1.3 KiB
JSON
|
{
|
||
|
"swaggerVersion": "1.2",
|
||
|
"apiVersion": "",
|
||
|
"basePath": "https://10.10.10.10:6443",
|
||
|
"resourcePath": "/version",
|
||
|
"info": {
|
||
|
"title": "",
|
||
|
"description": ""
|
||
|
},
|
||
|
"apis": [
|
||
|
{
|
||
|
"path": "/version",
|
||
|
"description": "git code version from which this is built",
|
||
|
"operations": [
|
||
|
{
|
||
|
"type": "version.Info",
|
||
|
"method": "GET",
|
||
|
"summary": "get the code version",
|
||
|
"nickname": "getCodeVersion",
|
||
|
"parameters": [],
|
||
|
"produces": [
|
||
|
"application/json"
|
||
|
],
|
||
|
"consumes": [
|
||
|
"application/json"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"models": {
|
||
|
"version.Info": {
|
||
|
"id": "version.Info",
|
||
|
"required": [
|
||
|
"major",
|
||
|
"minor",
|
||
|
"gitVersion",
|
||
|
"gitCommit",
|
||
|
"gitTreeState",
|
||
|
"buildDate",
|
||
|
"goVersion",
|
||
|
"compiler",
|
||
|
"platform"
|
||
|
],
|
||
|
"properties": {
|
||
|
"major": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"minor": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"gitVersion": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"gitCommit": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"gitTreeState": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"buildDate": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"goVersion": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"compiler": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"platform": {
|
||
|
"type": "string"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|