mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
99 lines
2.2 KiB
JSON
99 lines
2.2 KiB
JSON
{
|
|
"components": {
|
|
"schemas": {
|
|
"io.k8s.apimachinery.pkg.version.Info": {
|
|
"description": "Info contains versioning information. how we'll want to distribute that information.",
|
|
"properties": {
|
|
"buildDate": {
|
|
"default": "",
|
|
"type": "string"
|
|
},
|
|
"compiler": {
|
|
"default": "",
|
|
"type": "string"
|
|
},
|
|
"gitCommit": {
|
|
"default": "",
|
|
"type": "string"
|
|
},
|
|
"gitTreeState": {
|
|
"default": "",
|
|
"type": "string"
|
|
},
|
|
"gitVersion": {
|
|
"default": "",
|
|
"type": "string"
|
|
},
|
|
"goVersion": {
|
|
"default": "",
|
|
"type": "string"
|
|
},
|
|
"major": {
|
|
"default": "",
|
|
"type": "string"
|
|
},
|
|
"minor": {
|
|
"default": "",
|
|
"type": "string"
|
|
},
|
|
"platform": {
|
|
"default": "",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"major",
|
|
"minor",
|
|
"gitVersion",
|
|
"gitCommit",
|
|
"gitTreeState",
|
|
"buildDate",
|
|
"goVersion",
|
|
"compiler",
|
|
"platform"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"securitySchemes": {
|
|
"BearerToken": {
|
|
"description": "Bearer Token authentication",
|
|
"in": "header",
|
|
"name": "authorization",
|
|
"type": "apiKey"
|
|
}
|
|
}
|
|
},
|
|
"info": {
|
|
"title": "Kubernetes",
|
|
"version": "unversioned"
|
|
},
|
|
"openapi": "3.0.0",
|
|
"paths": {
|
|
"/version/": {
|
|
"get": {
|
|
"description": "get the code version",
|
|
"operationId": "getCodeVersion",
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.version.Info"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized"
|
|
}
|
|
},
|
|
"tags": [
|
|
"version"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|