{ "swagger": "2.0", "info": { "title": "Kubernetes /version", "version": "unversioned" }, "paths": { "/version/": { "get": { "description": "get the code version", "consumes": [ "application/json" ], "produces": [ "application/json" ], "schemes": [ "https" ], "operationId": "getCodeVersion", "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/version.Info" } } } } } }, "definitions": { "version.Info": { "description": "Info contains versioning information. how we'll want to distribute that information.", "required": [ "major", "minor", "gitVersion", "gitCommit", "gitTreeState", "buildDate", "goVersion", "compiler", "platform" ], "properties": { "buildDate": { "type": "string" }, "compiler": { "type": "string" }, "gitCommit": { "type": "string" }, "gitTreeState": { "type": "string" }, "gitVersion": { "type": "string" }, "goVersion": { "type": "string" }, "major": { "type": "string" }, "minor": { "type": "string" }, "platform": { "type": "string" } } } } }