Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated API name: search_pipeline.create to search_pipeline.put #254

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading