Skip to content

Commit

Permalink
Fixed search_pipeline.get spec (#255)
Browse files Browse the repository at this point in the history
Signed-off-by: saimedhi <[email protected]>
  • Loading branch information
saimedhi authored Apr 19, 2024
1 parent 7abde8a commit fe6f977
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 14 additions & 1 deletion spec/namespaces/search_pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,23 @@ info:
description: OpenSearch Search_pipeline API
version: 1.0.0
paths:
/_search/pipeline/{id}:
/_search/pipeline:
get:
operationId: search_pipeline.get.0
x-operation-group: search_pipeline.get
x-version-added: '2.9'
description: Retrieves information about a specified search pipeline.
parameters:
- $ref: '#/components/parameters/search_pipeline.get::query.cluster_manager_timeout'
responses:
'200':
$ref: '#/components/responses/search_pipeline.get@200'
/_search/pipeline/{id}:
get:
operationId: search_pipeline.get.1
x-operation-group: search_pipeline.get
x-version-added: '2.9'
description: Retrieves information about a specified search pipeline.
parameters:
- $ref: '#/components/parameters/search_pipeline.get::query.cluster_manager_timeout'
- $ref: '#/components/parameters/search_pipeline.get::path.id'
Expand Down Expand Up @@ -81,12 +92,14 @@ components:
search_pipeline.put::path.id:
name: id
in: path
description: Pipeline ID.
schema:
type: string
required: true
search_pipeline.delete::path.id:
name: id
in: path
description: Pipeline ID.
schema:
type: string
required: true
Expand Down
2 changes: 2 additions & 0 deletions spec/opensearch-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,8 @@ paths:
$ref: 'namespaces/security.yaml#/paths/~1_plugins~1_security~1health'
/_remotestore/_restore:
$ref: 'namespaces/remote_store.yaml#/paths/~1_remotestore~1_restore'
/_search/pipeline:
$ref: 'namespaces/search_pipeline.yaml#/paths/~1_search~1pipeline'
/_search/pipeline/{id}:
$ref: 'namespaces/search_pipeline.yaml#/paths/~1_search~1pipeline~1{id}'
/_snapshot:
Expand Down

0 comments on commit fe6f977

Please sign in to comment.