mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Fixing and running update-swagger-spec
This commit is contained in:
		
							
								
								
									
										28
									
								
								api/swagger-spec/apis.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								api/swagger-spec/apis.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
{
 | 
			
		||||
  "swaggerVersion": "1.2",
 | 
			
		||||
  "apiVersion": "",
 | 
			
		||||
  "basePath": "https://10.10.10.10:6443",
 | 
			
		||||
  "resourcePath": "/apis",
 | 
			
		||||
  "apis": [
 | 
			
		||||
   {
 | 
			
		||||
    "path": "/apis",
 | 
			
		||||
    "description": "get available API versions",
 | 
			
		||||
    "operations": [
 | 
			
		||||
     {
 | 
			
		||||
      "type": "void",
 | 
			
		||||
      "method": "GET",
 | 
			
		||||
      "summary": "get available API versions",
 | 
			
		||||
      "nickname": "getAPIVersions",
 | 
			
		||||
      "parameters": [],
 | 
			
		||||
      "produces": [
 | 
			
		||||
       "application/json"
 | 
			
		||||
      ],
 | 
			
		||||
      "consumes": [
 | 
			
		||||
       "application/json"
 | 
			
		||||
      ]
 | 
			
		||||
     }
 | 
			
		||||
    ]
 | 
			
		||||
   }
 | 
			
		||||
  ],
 | 
			
		||||
  "models": {}
 | 
			
		||||
 }
 | 
			
		||||
							
								
								
									
										28
									
								
								api/swagger-spec/extensions.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								api/swagger-spec/extensions.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,28 @@
 | 
			
		||||
{
 | 
			
		||||
  "swaggerVersion": "1.2",
 | 
			
		||||
  "apiVersion": "",
 | 
			
		||||
  "basePath": "https://10.10.10.10:6443",
 | 
			
		||||
  "resourcePath": "/apis/extensions",
 | 
			
		||||
  "apis": [
 | 
			
		||||
   {
 | 
			
		||||
    "path": "/apis/extensions",
 | 
			
		||||
    "description": "get information of a group",
 | 
			
		||||
    "operations": [
 | 
			
		||||
     {
 | 
			
		||||
      "type": "void",
 | 
			
		||||
      "method": "GET",
 | 
			
		||||
      "summary": "get information of a group",
 | 
			
		||||
      "nickname": "getAPIGroup",
 | 
			
		||||
      "parameters": [],
 | 
			
		||||
      "produces": [
 | 
			
		||||
       "application/json"
 | 
			
		||||
      ],
 | 
			
		||||
      "consumes": [
 | 
			
		||||
       "application/json"
 | 
			
		||||
      ]
 | 
			
		||||
     }
 | 
			
		||||
    ]
 | 
			
		||||
   }
 | 
			
		||||
  ],
 | 
			
		||||
  "models": {}
 | 
			
		||||
 }
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
    "description": "API at /apis/extensions/v1beta1"
 | 
			
		||||
   },
 | 
			
		||||
   {
 | 
			
		||||
    "path": "/apis/extensions/",
 | 
			
		||||
    "path": "/apis/extensions",
 | 
			
		||||
    "description": "get information of a group"
 | 
			
		||||
   },
 | 
			
		||||
   {
 | 
			
		||||
 
 | 
			
		||||
@@ -69,6 +69,8 @@ curl -fs ${SWAGGER_API_PATH} > ${SWAGGER_ROOT_DIR}/resourceListing.json
 | 
			
		||||
curl -fs ${SWAGGER_API_PATH}version > ${SWAGGER_ROOT_DIR}/version.json
 | 
			
		||||
curl -fs ${SWAGGER_API_PATH}api > ${SWAGGER_ROOT_DIR}/api.json
 | 
			
		||||
curl -fs ${SWAGGER_API_PATH}api/v1 > ${SWAGGER_ROOT_DIR}/v1.json
 | 
			
		||||
curl -fs ${SWAGGER_API_PATH}apis > ${SWAGGER_ROOT_DIR}/apis.json
 | 
			
		||||
curl -fs ${SWAGGER_API_PATH}apis/extensions > ${SWAGGER_ROOT_DIR}/extensions.json
 | 
			
		||||
curl -fs ${SWAGGER_API_PATH}apis/extensions/v1beta1 > ${SWAGGER_ROOT_DIR}/v1beta1.json
 | 
			
		||||
 | 
			
		||||
kube::log::status "SUCCESS"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user