From bb2736e753a6c59ee646ab8437fef39240fdbc70 Mon Sep 17 00:00:00 2001 From: lcawl Date: Mon, 2 Dec 2024 18:27:37 -0800 Subject: [PATCH] Add put index template and put mapping examples to overlay --- .../elasticsearch-shared-overlays.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/overlays/elasticsearch-shared-overlays.yaml b/docs/overlays/elasticsearch-shared-overlays.yaml index 9078350407..bd0202f9fa 100644 --- a/docs/overlays/elasticsearch-shared-overlays.yaml +++ b/docs/overlays/elasticsearch-shared-overlays.yaml @@ -1257,4 +1257,20 @@ actions: application/json: examples: indicesExplainDataLifecycleResponseExample: - $ref: "../../specification/indices/explain_data_lifecycle/IndicesExplainDataLifecycleResponseExample1.yaml" \ No newline at end of file + $ref: "../../specification/indices/explain_data_lifecycle/IndicesExplainDataLifecycleResponseExample1.yaml" + - target: "$.components['requestBodies']['indices.put_index_template']" + description: "Add example for create index template request" + update: + content: + application/json: + examples: + indicesPutIndexTemplateRequestExample1: + $ref: "../../specification/indices/put_index_template/IndicesPutIndexTemplateRequestExample1.yaml" + - target: "$.components['requestBodies']['indices.put_mapping']" + description: "Add example for put mapping request" + update: + content: + application/json: + examples: + indicesPutSettingRequestExample1: + $ref: "../../specification/indices/put_settings/IndicesPutSettingsRequestExample1.yaml" \ No newline at end of file