diff --git a/opensearch-openapi.yaml b/opensearch-openapi.yaml index 59687f683..4f9652931 100644 --- a/opensearch-openapi.yaml +++ b/opensearch-openapi.yaml @@ -5344,26 +5344,26 @@ 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' - $ref: '#/components/parameters/_global::query.pretty' - $ref: '#/components/parameters/_global::query.human' - $ref: '#/components/parameters/_global::query.error_trace' - $ref: '#/components/parameters/_global::query.source' - $ref: '#/components/parameters/_global::query.filter_path' 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' /_search/point_in_time: delete: operationId: delete_pit.0 @@ -17366,57 +17366,57 @@ components: schema: type: boolean style: form - search_pipeline.create::path.id: + search_pipeline.delete::path.id: name: id in: path schema: type: string required: true - search_pipeline.create::query.cluster_manager_timeout: + search_pipeline.delete::query.cluster_manager_timeout: name: cluster_manager_timeout in: query - description: operation timeout for connection to cluster-manager node. + description: Operation timeout for connection to cluster-manager node. schema: $ref: '#/components/schemas/_common:Duration' x-version-added: 2.0.0 - search_pipeline.create::query.timeout: + search_pipeline.delete::query.timeout: name: timeout in: query description: Operation timeout. schema: $ref: '#/components/schemas/_common:Duration' - search_pipeline.delete::path.id: + search_pipeline.get::path.id: name: id in: path + description: Comma-separated list of search pipeline ids. Wildcards supported. schema: type: string - required: true - search_pipeline.delete::query.cluster_manager_timeout: + search_pipeline.get::query.cluster_manager_timeout: name: cluster_manager_timeout in: query - description: Operation timeout for connection to cluster-manager node. + description: operation timeout for connection to cluster-manager node. schema: $ref: '#/components/schemas/_common:Duration' x-version-added: 2.0.0 - search_pipeline.delete::query.timeout: - name: timeout - in: query - description: Operation timeout. - schema: - $ref: '#/components/schemas/_common:Duration' - search_pipeline.get::path.id: + search_pipeline.put::path.id: name: id in: path - description: Comma-separated list of search pipeline ids. Wildcards supported. schema: type: string - search_pipeline.get::query.cluster_manager_timeout: + required: true + search_pipeline.put::query.cluster_manager_timeout: name: cluster_manager_timeout in: query description: operation timeout for connection to cluster-manager node. schema: $ref: '#/components/schemas/_common:Duration' x-version-added: 2.0.0 + search_pipeline.put::query.timeout: + name: timeout + in: query + description: Operation timeout. + schema: + $ref: '#/components/schemas/_common:Duration' search_shards::path.index: in: path name: index @@ -19749,7 +19749,7 @@ components: items: type: string description: The search definition using the Query DSL - search_pipeline.create: + search_pipeline.put: content: application/json: schema: @@ -21672,7 +21672,7 @@ components: application/json: schema: $ref: '#/components/schemas/_core.search:ResponseBody' - search_pipeline.create@200: + search_pipeline.delete@200: description: '' content: application/json: @@ -21681,21 +21681,21 @@ components: properties: acknowledged: type: boolean - search_pipeline.delete@200: + search_pipeline.get@200: description: '' content: application/json: schema: - type: object - properties: - acknowledged: - type: boolean - search_pipeline.get@200: + $ref: '#/components/schemas/search_pipeline._common:SearchPipelineMap' + search_pipeline.put@200: description: '' content: application/json: schema: - $ref: '#/components/schemas/search_pipeline._common:SearchPipelineMap' + type: object + properties: + acknowledged: + type: boolean search_shards@200: description: '' content: