From 6fa829b2a122809f03f777c8b2928b464ce9cd8f Mon Sep 17 00:00:00 2001 From: saimedhi Date: Thu, 18 Apr 2024 15:39:05 -0700 Subject: [PATCH] Updated API name: search_pipeline.create to search_pipeline.put Signed-off-by: saimedhi --- spec/namespaces/search_pipeline.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/spec/namespaces/search_pipeline.yaml b/spec/namespaces/search_pipeline.yaml index b57f3f90a..02eafa5ca 100644 --- a/spec/namespaces/search_pipeline.yaml +++ b/spec/namespaces/search_pipeline.yaml @@ -17,21 +17,21 @@ paths: '200': $ref: '#/components/responses/search_pipeline.get@200' put: - operationId: search_pipeline.create.0 - x-operation-group: search_pipeline.create + operationId: search_pipeline.put.0 + x-operation-group: search_pipeline.put x-version-added: '2.9' description: Creates or replaces the specified search pipeline. externalDocs: url: https://opensearch.org/docs/latest/search-plugins/search-pipelines/creating-search-pipeline/ parameters: - - $ref: '#/components/parameters/search_pipeline.create::query.cluster_manager_timeout' - - $ref: '#/components/parameters/search_pipeline.create::query.timeout' - - $ref: '#/components/parameters/search_pipeline.create::path.id' + - $ref: '#/components/parameters/search_pipeline.put::query.cluster_manager_timeout' + - $ref: '#/components/parameters/search_pipeline.put::query.timeout' + - $ref: '#/components/parameters/search_pipeline.put::path.id' requestBody: - $ref: '#/components/requestBodies/search_pipeline.create' + $ref: '#/components/requestBodies/search_pipeline.put' responses: '200': - $ref: '#/components/responses/search_pipeline.create@200' + $ref: '#/components/responses/search_pipeline.put@200' delete: operationId: search_pipeline.delete.0 x-operation-group: search_pipeline.delete @@ -46,14 +46,14 @@ paths: $ref: '#/components/responses/search_pipeline.delete@200' components: requestBodies: - search_pipeline.create: + search_pipeline.put: content: application/json: schema: $ref: '../schemas/search_pipeline._common.yaml#/components/schemas/SearchPipelineStructure' required: true responses: - search_pipeline.create@200: + search_pipeline.put@200: description: '' content: application/json: @@ -78,7 +78,7 @@ components: schema: $ref: '../schemas/search_pipeline._common.yaml#/components/schemas/SearchPipelineMap' parameters: - search_pipeline.create::path.id: + search_pipeline.put::path.id: name: id in: path schema: @@ -103,7 +103,7 @@ components: schema: $ref: '../schemas/_common.yaml#/components/schemas/Duration' x-version-added: 2.0.0 - search_pipeline.create::query.cluster_manager_timeout: + search_pipeline.put::query.cluster_manager_timeout: name: cluster_manager_timeout in: query description: operation timeout for connection to cluster-manager node. @@ -117,7 +117,7 @@ components: schema: $ref: '../schemas/_common.yaml#/components/schemas/Duration' x-version-added: 2.0.0 - search_pipeline.create::query.timeout: + search_pipeline.put::query.timeout: name: timeout in: query description: Operation timeout.