Skip to content

Commit 36c4828

Browse files
authored
Use strings instead of integer ids for simulate examples (#5061)
* Use strings instead of integer ids for simulate examples These examples were being rendered with the `_id` as an integer, however, that is invalid and we only allow strings for integers. * Change " -> ' because... reasons?
1 parent 229d453 commit 36c4828

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

specification/simulate/ingest/examples/request/SimulateIngestRequestExample1.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ description:
77
# type: request
88
value:
99
docs:
10-
- _id: 123
10+
- _id: '123'
1111
_index: my-index
1212
_source:
1313
foo: bar
14-
- _id: 456
14+
- _id: '456'
1515
_index: my-index
1616
_source:
1717
foo: rab

specification/simulate/ingest/examples/request/SimulateIngestRequestExample2.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ description:
99
value:
1010
docs:
1111
- _index: my-index
12-
_id: 123
12+
_id: '123'
1313
_source:
1414
foo: bar
1515
- _index: my-index
16-
_id: 456
16+
_id: '456'
1717
_source:
1818
foo: rab
1919
pipeline_substitutions:

0 commit comments

Comments
 (0)