Skip to content

Commit fe969da

Browse files
committed
Add example overlays
1 parent 6dfb8b2 commit fe969da

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,4 +1257,40 @@ actions:
12571257
application/json:
12581258
examples:
12591259
indicesExplainDataLifecycleResponseExample:
1260-
$ref: "../../specification/indices/explain_data_lifecycle/IndicesExplainDataLifecycleResponseExample1.yaml"
1260+
$ref: "../../specification/indices/explain_data_lifecycle/IndicesExplainDataLifecycleResponseExample1.yaml"
1261+
- target: "$.components['responses']['ingest.get_pipeline#200']"
1262+
description: "Add example for get pipeline response"
1263+
update:
1264+
content:
1265+
application/json:
1266+
examples:
1267+
indicesGetDataStreamResponseExample:
1268+
$ref: "../../specification/ingest/get_pipeline/GetPipelineResponseExample1.yaml"
1269+
- target: "$.paths['/_ingest/pipeline/{id}']['put']"
1270+
description: "Add examples for create pipeline"
1271+
update:
1272+
requestBody:
1273+
content:
1274+
application/json:
1275+
examples:
1276+
putPipelineRequestExample1:
1277+
$ref: "../../specification/ingest/put_pipeline/PutPipelineRequestExample1.yaml"
1278+
putPipelineRequestExample2:
1279+
$ref: "../../specification/ingest/put_pipeline/PutPipelineRequestExample2.yaml"
1280+
- target: "$.components['requestBodies']['ingest.simulate']"
1281+
description: "Add example for simulate pipeline request"
1282+
update:
1283+
content:
1284+
application/json:
1285+
examples:
1286+
simulatePipelineRequestExample1:
1287+
$ref: "../../specification/ingest/simulate/SimulatePipelineRequestExample1.json"
1288+
- target: "$.components['responses']['ingest.simulate#200']"
1289+
description: "Add example for simulate pipeline response"
1290+
update:
1291+
content:
1292+
application/json:
1293+
examples:
1294+
simulatePipelineResponseExample1:
1295+
$ref: "../../specification/ingest/simulate/SimulatePipelineResponseExample1.json"
1296+

0 commit comments

Comments
 (0)