diff --git a/openapi/custom_objects_spec.json b/openapi/custom_objects_spec.json index 16e531c..beed4c0 100644 --- a/openapi/custom_objects_spec.json +++ b/openapi/custom_objects_spec.json @@ -1,4 +1,49 @@ { + "/apis/{group}/{version}": { + "parameters": [ + { + "name": "group", + "in": "path", + "required": true, + "description": "The custom resource's group name", + "type": "string" + }, + { + "name": "version", + "in": "path", + "required": true, + "description": "The custom resource's version", + "type": "string" + } + ], + "get": { + "operationId": "getCustomObjectsAPIResources", + "description": "get available resources", + "tags": [ + "custom_objects" + ], + "consumes": [ + "*/*" + ], + "produces": [ + "application/json" + ], + "schemes": [ + "https" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + } + } + }, "/apis/{group}/{version}/{plural}": { "parameters": [ { @@ -1012,7 +1057,7 @@ "schema": { "type": "object" } - }, + }, "401": { "description": "Unauthorized" }