Skip to content

Commit 389a8de

Browse files
authored
Edit parameter descriptions for Ingest pipelines. (#841)
* Edit parameters descriptions for Ingest pipelines. Signed-off-by: Archer <[email protected]>
1 parent 5b837e6 commit 389a8de

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

spec/namespaces/ingest.yaml

+27-27
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ paths:
99
operationId: ingest.get_pipeline.0
1010
x-operation-group: ingest.get_pipeline
1111
x-version-added: '1.0'
12-
description: Returns a pipeline.
12+
description: Returns an ingest pipeline.
1313
externalDocs:
1414
url: https://opensearch.org/docs/latest/api-reference/ingest-apis/get-ingest/
1515
parameters:
@@ -23,7 +23,7 @@ paths:
2323
operationId: ingest.simulate.0
2424
x-operation-group: ingest.simulate
2525
x-version-added: '1.0'
26-
description: Allows to simulate a pipeline with example documents.
26+
description: Simulates an ingest pipeline with example documents.
2727
externalDocs:
2828
url: https://opensearch.org/docs/latest/api-reference/ingest-apis/simulate-ingest/
2929
parameters:
@@ -37,7 +37,7 @@ paths:
3737
operationId: ingest.simulate.1
3838
x-operation-group: ingest.simulate
3939
x-version-added: '1.0'
40-
description: Allows to simulate a pipeline with example documents.
40+
description: Simulates an ingest pipeline with example documents.
4141
externalDocs:
4242
url: https://opensearch.org/docs/latest/api-reference/ingest-apis/simulate-ingest/
4343
parameters:
@@ -52,7 +52,7 @@ paths:
5252
operationId: ingest.get_pipeline.1
5353
x-operation-group: ingest.get_pipeline
5454
x-version-added: '1.0'
55-
description: Returns a pipeline.
55+
description: Returns an ingest pipeline.
5656
externalDocs:
5757
url: https://opensearch.org/docs/latest/api-reference/ingest-apis/get-ingest/
5858
parameters:
@@ -66,7 +66,7 @@ paths:
6666
operationId: ingest.put_pipeline.0
6767
x-operation-group: ingest.put_pipeline
6868
x-version-added: '1.0'
69-
description: Creates or updates a pipeline.
69+
description: Creates or updates an ingest pipeline.
7070
externalDocs:
7171
url: https://opensearch.org/docs/latest/api-reference/ingest-apis/create-update-ingest/
7272
parameters:
@@ -83,7 +83,7 @@ paths:
8383
operationId: ingest.delete_pipeline.0
8484
x-operation-group: ingest.delete_pipeline
8585
x-version-added: '1.0'
86-
description: Deletes a pipeline.
86+
description: Deletes an ingest pipeline.
8787
externalDocs:
8888
url: https://opensearch.org/docs/latest/api-reference/ingest-apis/delete-ingest/
8989
parameters:
@@ -99,7 +99,7 @@ paths:
9999
operationId: ingest.simulate.2
100100
x-operation-group: ingest.simulate
101101
x-version-added: '1.0'
102-
description: Allows to simulate a pipeline with example documents.
102+
description: Simulates an ingest pipeline with example documents.
103103
externalDocs:
104104
url: https://opensearch.org/docs/latest/api-reference/ingest-apis/simulate-ingest/
105105
parameters:
@@ -114,7 +114,7 @@ paths:
114114
operationId: ingest.simulate.3
115115
x-operation-group: ingest.simulate
116116
x-version-added: '1.0'
117-
description: Allows to simulate a pipeline with example documents.
117+
description: Simulates an ingest pipeline with example documents.
118118
externalDocs:
119119
url: https://opensearch.org/docs/latest/api-reference/ingest-apis/simulate-ingest/
120120
parameters:
@@ -130,7 +130,7 @@ paths:
130130
operationId: ingest.processor_grok.0
131131
x-operation-group: ingest.processor_grok
132132
x-version-added: '1.0'
133-
description: Returns a list of the built-in patterns.
133+
description: Returns a list of built-in grok patterns.
134134
externalDocs:
135135
url: https://opensearch.org/docs/latest
136136
parameters:
@@ -149,21 +149,23 @@ components:
149149
_meta:
150150
$ref: '../schemas/_common.yaml#/components/schemas/Metadata'
151151
description:
152-
description: Description of the ingest pipeline.
152+
description: The description for the ingest pipeline.
153153
type: string
154154
on_failure:
155-
description: Processors to run immediately after a processor failure. Each processor supports a processor-level `on_failure` value. If a processor without an `on_failure` value fails, OpenSearch uses this pipeline-level parameter as a fallback. The processors in this parameter run sequentially in the order specified. OpenSearch will not attempt to run the pipeline's remaining processors.
155+
description: |-
156+
The new processor to run immediately after another processor fails. The processors specified in the `on_failure` parameter run sequentially in the order specified.
157+
If no pipeline are specified in `on_failure` array is specified, OpenSearch will not attempt to run the pipeline's remaining processors.
156158
type: array
157159
items:
158160
$ref: '../schemas/ingest._common.yaml#/components/schemas/ProcessorContainer'
159161
processors:
160-
description: Processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.
162+
description: The processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.
161163
type: array
162164
items:
163165
$ref: '../schemas/ingest._common.yaml#/components/schemas/ProcessorContainer'
164166
version:
165167
$ref: '../schemas/_common.yaml#/components/schemas/VersionNumber'
166-
description: The ingest definition
168+
description: The ingest definition.
167169
required: true
168170
ingest.simulate:
169171
content:
@@ -172,7 +174,7 @@ components:
172174
type: object
173175
properties:
174176
docs:
175-
description: Sample documents to test in the pipeline.
177+
description: A list of sample documents to test in the pipeline.
176178
type: array
177179
items:
178180
$ref: '../schemas/ingest.simulate.yaml#/components/schemas/Document'
@@ -227,7 +229,7 @@ components:
227229
in: path
228230
name: id
229231
description: |-
230-
Pipeline ID or wildcard expression of pipeline IDs used to limit the request.
232+
The pipeline ID or wildcard expression of pipeline IDs used to limit the request.
231233
To delete all ingest pipelines in a cluster, use a value of `*`.
232234
required: true
233235
schema:
@@ -236,7 +238,7 @@ components:
236238
ingest.delete_pipeline::query.cluster_manager_timeout:
237239
name: cluster_manager_timeout
238240
in: query
239-
description: Operation timeout for connection to cluster-manager node.
241+
description: The amount of time allowed to establish a connection to the cluster manager node.
240242
schema:
241243
$ref: '../schemas/_common.yaml#/components/schemas/Duration'
242244
x-version-added: '2.0'
@@ -255,17 +257,15 @@ components:
255257
ingest.delete_pipeline::query.timeout:
256258
in: query
257259
name: timeout
258-
description: |-
259-
Period to wait for a response.
260-
If no response is received before the timeout expires, the request fails and returns an error.
260+
description: The amount of time to wait for a response.
261261
schema:
262262
$ref: '../schemas/_common.yaml#/components/schemas/Duration'
263263
style: form
264264
ingest.get_pipeline::path.id:
265265
in: path
266266
name: id
267267
description: |-
268-
Comma-separated list of pipeline IDs to retrieve.
268+
A comma-separated list of pipeline IDs to retrieve.
269269
Wildcard (`*`) expressions are supported.
270270
To get all ingest pipelines, omit this parameter or use `*`.
271271
required: true
@@ -275,7 +275,7 @@ components:
275275
ingest.get_pipeline::query.cluster_manager_timeout:
276276
name: cluster_manager_timeout
277277
in: query
278-
description: Operation timeout for connection to cluster-manager node.
278+
description: The amount of time allowed to establish a connection to the cluster manager node.
279279
schema:
280280
$ref: '../schemas/_common.yaml#/components/schemas/Duration'
281281
x-version-added: '2.0'
@@ -294,15 +294,15 @@ components:
294294
ingest.put_pipeline::path.id:
295295
in: path
296296
name: id
297-
description: ID of the ingest pipeline to create or update.
297+
description: The ID of the ingest pipeline.
298298
required: true
299299
schema:
300300
$ref: '../schemas/_common.yaml#/components/schemas/Id'
301301
style: simple
302302
ingest.put_pipeline::query.cluster_manager_timeout:
303303
name: cluster_manager_timeout
304304
in: query
305-
description: Operation timeout for connection to cluster-manager node.
305+
description: The amount of time allowed to establish a connection to the cluster manager node.
306306
schema:
307307
$ref: '../schemas/_common.yaml#/components/schemas/Duration'
308308
x-version-added: '2.0'
@@ -319,15 +319,15 @@ components:
319319
ingest.put_pipeline::query.timeout:
320320
in: query
321321
name: timeout
322-
description: Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
322+
description: The amount of time to wait for a response.
323323
schema:
324324
$ref: '../schemas/_common.yaml#/components/schemas/Duration'
325325
style: form
326326
ingest.simulate::path.id:
327327
in: path
328328
name: id
329329
description: |-
330-
Pipeline to test.
330+
The pipeline to test.
331331
If you don't specify a `pipeline` in the request body, this parameter is required.
332332
required: true
333333
schema:
@@ -336,15 +336,15 @@ components:
336336
ingest.simulate::query.verbose:
337337
in: query
338338
name: verbose
339-
description: If `true`, the response includes output data for each processor in the executed pipeline.
339+
description: When `true`, the response includes output data for each processor in the pipeline
340340
schema:
341341
type: boolean
342342
default: false
343343
style: form
344344
ingest.processor_grok::query.s:
345345
name: s
346346
in: query
347-
description: Sort returned patterns by key name.
347+
description: Determines how to sort returned grok patterns by key name.
348348
schema:
349349
type: boolean
350350
default: false

0 commit comments

Comments
 (0)