Skip to content

Commit 9729a32

Browse files
committed
Add overlay for create index examples
1 parent eec95d8 commit 9729a32

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,3 +204,14 @@ actions:
204204
examples:
205205
indicesAnalyzeRequestExample1:
206206
$ref: "../../specification/indices/analyze/indicesAnalyzeRequestExample1.yaml"
207+
- target: "$.paths['/{index}']['put']"
208+
description: "Add examples for create index request"
209+
update:
210+
requestBody:
211+
content:
212+
application/json:
213+
examples:
214+
indicesCreateRequestExample1:
215+
$ref: "../../specification/indices/create/indicesCreateRequestExample1.yaml"
216+
indicesCreateRequestExample2:
217+
$ref: "../../specification/indices/create/indicesCreateRequestExample2.yaml"

0 commit comments

Comments
 (0)