{ | |
"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" | |
} | |
} | |
} | |
} | |
} |