Skip to content

Commit eec95d8

Browse files
committed
Add overlay for close index example
1 parent 0103eae commit eec95d8

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,14 @@ actions:
234234
application/json:
235235
examples:
236236
indicesCloneRequestExample1:
237-
$ref: "../../specification/indices/clone/indicesCloneRequestExample1.yaml"
237+
$ref: "../../specification/indices/clone/indicesCloneRequestExample1.yaml"
238+
- target: "$.paths['/{index}/_close']['post']"
239+
description: "Add examples for close index response"
240+
update:
241+
responses:
242+
200:
243+
content:
244+
application/json:
245+
examples:
246+
indicesCloseResponseExample1:
247+
$ref: "../../specification/indices/close/indicesCloseResponseExample1.yaml"

0 commit comments

Comments
 (0)