Skip to content

Commit

Permalink
Updated API name: search_pipeline.create to search_pipeline.put (#254)
Browse files Browse the repository at this point in the history
Signed-off-by: saimedhi <[email protected]>
  • Loading branch information
saimedhi authored Apr 18, 2024
1 parent cecb187 commit 7abde8a
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions spec/namespaces/search_pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit 7abde8a

Please sign in to comment.