k8s.io/kubernetes@v1.31.0-alpha.0.0.20240520171757-56147500dadc/api/openapi-spec/v3/version_openapi.json (about) 1 { 2 "components": { 3 "schemas": { 4 "io.k8s.apimachinery.pkg.version.Info": { 5 "description": "Info contains versioning information. how we'll want to distribute that information.", 6 "properties": { 7 "buildDate": { 8 "default": "", 9 "type": "string" 10 }, 11 "compiler": { 12 "default": "", 13 "type": "string" 14 }, 15 "gitCommit": { 16 "default": "", 17 "type": "string" 18 }, 19 "gitTreeState": { 20 "default": "", 21 "type": "string" 22 }, 23 "gitVersion": { 24 "default": "", 25 "type": "string" 26 }, 27 "goVersion": { 28 "default": "", 29 "type": "string" 30 }, 31 "major": { 32 "default": "", 33 "type": "string" 34 }, 35 "minor": { 36 "default": "", 37 "type": "string" 38 }, 39 "platform": { 40 "default": "", 41 "type": "string" 42 } 43 }, 44 "required": [ 45 "major", 46 "minor", 47 "gitVersion", 48 "gitCommit", 49 "gitTreeState", 50 "buildDate", 51 "goVersion", 52 "compiler", 53 "platform" 54 ], 55 "type": "object" 56 } 57 }, 58 "securitySchemes": { 59 "BearerToken": { 60 "description": "Bearer Token authentication", 61 "in": "header", 62 "name": "authorization", 63 "type": "apiKey" 64 } 65 } 66 }, 67 "info": { 68 "title": "Kubernetes", 69 "version": "unversioned" 70 }, 71 "openapi": "3.0.0", 72 "paths": { 73 "/version/": { 74 "get": { 75 "description": "get the code version", 76 "operationId": "getCodeVersion", 77 "responses": { 78 "200": { 79 "content": { 80 "application/json": { 81 "schema": { 82 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.version.Info" 83 } 84 } 85 }, 86 "description": "OK" 87 }, 88 "401": { 89 "description": "Unauthorized" 90 } 91 }, 92 "tags": [ 93 "version" 94 ] 95 } 96 } 97 } 98 }