From 1687e71f74cf19412497ccfc23016fc8e4a65199 Mon Sep 17 00:00:00 2001 From: Andrey Vasnetsov Date: Tue, 7 Feb 2023 08:43:39 +0100 Subject: [PATCH] remove `/collections/aliases` (#1440) --- docs/redoc/master/openapi.json | 56 ---------------------------- openapi/openapi-collections.ytt.yaml | 7 ---- 2 files changed, 63 deletions(-) diff --git a/docs/redoc/master/openapi.json b/docs/redoc/master/openapi.json index f071ec7cbb5..b578c64089f 100644 --- a/docs/redoc/master/openapi.json +++ b/docs/redoc/master/openapi.json @@ -779,62 +779,6 @@ } } } - }, - "get": { - "tags": [ - "collections" - ], - "summary": "List collections aliases", - "description": "Get list of all existing collections aliases", - "operationId": "get_collections_mappings", - "responses": { - "default": { - "description": "error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "4XX": { - "description": "error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ErrorResponse" - } - } - } - }, - "200": { - "description": "successful operation", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "time": { - "type": "number", - "format": "float", - "description": "Time spent to process this request" - }, - "status": { - "type": "string", - "enum": [ - "ok" - ] - }, - "result": { - "$ref": "#/components/schemas/CollectionsAliasesResponse" - } - } - } - } - } - } - } } }, "/collections/{collection_name}/index": { diff --git a/openapi/openapi-collections.ytt.yaml b/openapi/openapi-collections.ytt.yaml index 8e82cd38538..e25fecfa78b 100644 --- a/openapi/openapi-collections.ytt.yaml +++ b/openapi/openapi-collections.ytt.yaml @@ -127,13 +127,6 @@ paths: schema: type: integer responses: #@ response(type("boolean")) - get: - tags: - - collections - summary: List collections aliases - description: Get list of all existing collections aliases - operationId: get_collections_mappings - responses: #@ response(reference("CollectionsAliasesResponse")) /collections/{collection_name}/index: put: