Skip to content

Commit 59996e0

Browse files
committed
Fixes formatting.
1 parent 44ce2a0 commit 59996e0

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

specification/ingest/get_pipeline/GetPipelineResponseExample1.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ summary: A successful response for retrieving information about an ingest pipeli
22
# description: ''
33
# type: response
44
# response_code: 200
5-
value: "{\n \"my-pipeline-id\" : {\n \"description\" : \"describe pipeline\",\n\
5+
value:
6+
"{\n \"my-pipeline-id\" : {\n \"description\" : \"describe pipeline\",\n\
67
\ \"version\" : 123,\n \"processors\" : [\n {\n \"set\" : {\n\
78
\ \"field\" : \"foo\",\n \"value\" : \"bar\"\n }\n \
89
\ }\n ]\n }\n}"

specification/ingest/put_pipeline/PutPipelineRequestExample1.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ summary: Create an ingest pipeline.
22
# method_request: PUT _ingest/pipeline/my-pipeline-id
33
# description: ''
44
# type: request
5-
value: "{\n \"description\" : \"My optional pipeline description\",\n \"processors\"\
5+
value:
6+
"{\n \"description\" : \"My optional pipeline description\",\n \"processors\"\
67
\ : [\n {\n \"set\" : {\n \"description\" : \"My optional processor\
78
\ description\",\n \"field\": \"my-keyword-field\",\n \"value\": \"\
89
foo\"\n }\n }\n ]\n}"

specification/ingest/put_pipeline/PutPipelineRequestExample2.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ summary: Creates an ingest pipeline.
22
# method_request: PUT /_ingest/pipeline/my-pipeline-id
33
description: You can use the `_meta` parameter to add arbitrary metadata to a pipeline.
44
type: request
5-
value: "{\n \"description\" : \"My optional pipeline description\",\n \"processors\"\
5+
value:
6+
"{\n \"description\" : \"My optional pipeline description\",\n \"processors\"\
67
\ : [\n {\n \"set\" : {\n \"description\" : \"My optional processor\
78
\ description\",\n \"field\": \"my-keyword-field\",\n \"value\": \"\
89
foo\"\n }\n }\n ],\n \"_meta\": {\n \"reason\": \"set my-keyword-field\

specification/ingest/simulate/SimulatePipelineRequestRequestExample1.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ summary: Run an ingest pipeline against a set of provided documents.
22
# method_request: POST /_ingest/pipeline/_simulate
33
description: You can specify the used pipeline either in the request body or as a path parameter.
44
# type: request
5-
value: "{\n \"pipeline\" :\n {\n \"description\": \"_description\",\n \"processors\"\
5+
value:
6+
"{\n \"pipeline\" :\n {\n \"description\": \"_description\",\n \"processors\"\
67
: [\n {\n \"set\" : {\n \"field\" : \"field2\",\n \
78
\ \"value\" : \"_value\"\n }\n }\n ]\n },\n \"docs\": [\n {\n\
89
\ \"_index\": \"index\",\n \"_id\": \"id\",\n \"_source\": {\n \

specification/ingest/simulate/SimulatePipelineResponseExample1.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
summary: A successful response for running an ingest pipeline against a set of provided documents.
1+
summary: A successful response for running an ingest pipeline against a set of provided documents.
22
# description: ''
33
# type: response
44
# response_code: 200
5-
value: "{\n \"docs\": [\n {\n \"doc\": {\n \"_id\": \"id\"\
5+
value:
6+
"{\n \"docs\": [\n {\n \"doc\": {\n \"_id\": \"id\"\
67
,\n \"_index\": \"index\",\n \"_version\": \"-3\",\n \
78
\ \"_source\": {\n \"field2\": \"_value\",\n \"\
89
foo\": \"bar\"\n },\n \"_ingest\": {\n \"timestamp\"\

0 commit comments

Comments
 (0)