Skip to content

Commit c2e215f

Browse files
committed
Add overlay for analyze example
1 parent 4025363 commit c2e215f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ actions:
8181
content:
8282
application/json:
8383
examples:
84-
asyncSearchSubmitResponseExample1:
84+
asyncSearchSubmitRequestExample1:
8585
$ref: "../../specification/async_search/submit/AsyncSearchSubmitRequestExample1.json"
8686
- target: "$.components['responses']['async_search.submit#200']"
8787
description: "Add example for asynch search submit response"
@@ -195,4 +195,12 @@ actions:
195195
application/json:
196196
examples:
197197
indicesAddBlockResponseExample1:
198-
$ref: "../../specification/indices/add_block/IndicesAddBlockResponseExample1.yaml"
198+
$ref: "../../specification/indices/add_block/IndicesAddBlockResponseExample1.yaml"
199+
- target: "$.components['requestBodies']['indices.analyze']"
200+
description: "Add example for analyze API request"
201+
update:
202+
content:
203+
application/json:
204+
examples:
205+
indicesAnalyzeRequestExample1:
206+
$ref: "../../specification/indices/analyze/indicesAnalyzeRequestExample1.yaml"

0 commit comments

Comments
 (0)