Skip to content

Commit bb2736e

Browse files
committed
Add put index template and put mapping examples to overlay
1 parent 0643ef6 commit bb2736e

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,4 +1257,20 @@ 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['requestBodies']['indices.put_index_template']"
1262+
description: "Add example for create index template request"
1263+
update:
1264+
content:
1265+
application/json:
1266+
examples:
1267+
indicesPutIndexTemplateRequestExample1:
1268+
$ref: "../../specification/indices/put_index_template/IndicesPutIndexTemplateRequestExample1.yaml"
1269+
- target: "$.components['requestBodies']['indices.put_mapping']"
1270+
description: "Add example for put mapping request"
1271+
update:
1272+
content:
1273+
application/json:
1274+
examples:
1275+
indicesPutSettingRequestExample1:
1276+
$ref: "../../specification/indices/put_settings/IndicesPutSettingsRequestExample1.yaml"

0 commit comments

Comments
 (0)