@@ -71,7 +71,7 @@ actions:
7171 application/json :
7272 examples :
7373 getFeaturesResponseExample1 :
74- $ref : " ../../specification/features/get_features/FeaturesApiResponseExample1.json "
74+ $ref : " ../../specification/features/get_features/examples/response/GetFeaturesResponseExample1.yaml "
7575 - target : " $.paths['/_features/_reset']['post']"
7676 description : " Add examples for reset features operation"
7777 update :
@@ -81,23 +81,23 @@ actions:
8181 application/json :
8282 examples :
8383 resetFeaturesResponseExample1 :
84- $ref : " ../../specification/features/reset_features/ResetFeaturesResponseExample1.json "
84+ $ref : " ../../specification/features/reset_features/examples/response/ ResetFeaturesResponseExample1.yaml "
8585 - target : " $.components['requestBodies']['cluster.allocation_explain']"
8686 description : " Add examples for cluster allocation explain operation"
8787 update :
8888 content :
8989 application/json :
9090 examples :
9191 clusterAllocationExplainRequestExample1 :
92- $ref : " ../../specification/cluster/allocation_explain/clusterAllocationExplainRequestExample1.json "
92+ $ref : " ../../specification/cluster/allocation_explain/examples/request/ clusterAllocationExplainRequestExample1.yaml "
9393 - target : " $.components['responses']['cluster.health#200']"
9494 description : " Add examples for cluster health operation"
9595 update :
9696 content :
9797 application/json :
9898 examples :
9999 clusterHealthResponseExample1 :
100- $ref : " ../../specification/cluster/health/clusterHealthResponseExample1.json "
100+ $ref : " ../../specification/cluster/health/examples/response/ clusterHealthResponseExample1.yaml "
101101 - target : " $.paths['/_cluster/settings']['put']"
102102 description : " Add examples for cluster update settings operation"
103103 update :
@@ -106,7 +106,7 @@ actions:
106106 application/json :
107107 examples :
108108 clusterPutSettingsRequestExample1 :
109- $ref : " ../../specification/cluster/put_settings/clusterPutSettingsRequestExample1.json "
109+ $ref : " ../../specification/cluster/put_settings/examples/request/ClusterPutSettingsRequestExample1.yaml "
110110 - target : " $.paths['/_cluster/reroute']['post']"
111111 description : " Add examples for cluster reroute operation"
112112 update :
@@ -115,23 +115,23 @@ actions:
115115 application/json :
116116 examples :
117117 clusterRerouteRequestExample1 :
118- $ref : " ../../specification/cluster/reroute/clusterRerouteRequestExample1.json "
118+ $ref : " ../../specification/cluster/reroute/examples/request/ClusterRerouteRequestExample1.yaml "
119119 - target : " $.components['requestBodies']['nodes.reload_secure_settings']"
120120 description : " Add examples for nodes reload secure settings operation"
121121 update :
122122 content :
123123 application/json :
124124 examples :
125125 clusterNodesReloadSecureSettingsRequestExample1 :
126- $ref : " ../../specification/nodes/reload_secure_settings/clusterNodesReloadSecureSettingsRequestExample1.json "
126+ $ref : " ../../specification/nodes/reload_secure_settings/examples/request/ReloadSecureSettingsRequestExample1.yaml "
127127 - target : " $.components['responses']['nodes.reload_secure_settings#200']"
128128 description : " Add response examples for nodes reload secure settings operation"
129129 update :
130130 content :
131131 application/json :
132132 examples :
133133 clusterNodesReloadSecureSettingsResponseExample1 :
134- $ref : " ../../specification/nodes/reload_secure_settings/clusterNodesReloadSecureSettingsResponseExample1.json "
134+ $ref : " ../../specification/nodes/reload_secure_settings/examples/response/ReloadSecureSettingsResponseExample1.yaml "
135135 - target : " $.paths['/_tasks']['get']"
136136 description : " Add examples for task management operation"
137137 update :
@@ -141,7 +141,7 @@ actions:
141141 application/json :
142142 examples :
143143 getTasksResponseExample1 :
144- $ref : " ../../specification/tasks/get/getTasksResponseExample1.json "
144+ $ref : " ../../specification/tasks/get/examples/response/GetTaskResponseExample1.yaml "
145145 - target : " $.components['responses']['nodes.info#200']"
146146 description : " Add response examples for nodes info"
147147 update :
@@ -159,7 +159,7 @@ actions:
159159 application/json :
160160 examples :
161161 deleteLifecycleResponseExample1 :
162- $ref : " ../../specification/ilm/delete_lifecycle/DeleteLifecycleResponseExample1.json "
162+ $ref : " ../../specification/ilm/delete_lifecycle/examples/response/ DeleteLifecycleResponseExample1.yaml "
163163 - target : " $.paths['/_ilm/policy/{policy}']['put']"
164164 description : " Add examples for create a lifecycle operation"
165165 update :
@@ -168,22 +168,22 @@ actions:
168168 application/json :
169169 examples :
170170 putLifecycleRequestExample1 :
171- $ref : " ../../specification/ilm/put_lifecycle/PutLifecycleRequestExample1.json "
171+ $ref : " ../../specification/ilm/put_lifecycle/examples/request/ PutLifecycleRequestExample1.yaml "
172172 responses :
173173 200 :
174174 content :
175175 application/json :
176176 examples :
177177 putLifecycleResponseExample1 :
178- $ref : " ../../specification/ilm/put_lifecycle/PutLifecycleResponseExample1.json "
178+ $ref : " ../../specification/ilm/put_lifecycle/examples/response/ PutLifecycleResponseExample1.yaml "
179179 - target : " $.components['responses']['ilm.get_lifecycle#200']"
180180 description : " Add examples for get lifecycle policy operation"
181181 update :
182182 content :
183183 application/json :
184184 examples :
185185 getLifecycleResponseExample1 :
186- $ref : " ../../specification/ilm/get_lifecycle/GetLifecycleResponseExample1.json "
186+ $ref : " ../../specification/ilm/get_lifecycle/examples/response/ GetLifecycleResponseExample1.yaml "
187187 - target : " $.paths['/_ilm/migrate_to_data_tiers']['post']"
188188 description : " Add examples for migrate to data tiers routing operation"
189189 update :
@@ -192,14 +192,14 @@ actions:
192192 application/json :
193193 examples :
194194 migrateToDataTiersRequestExample1 :
195- $ref : " ../../specification/ilm/migrate_to_data_tiers/MigrateToDataTiersRequestExample1.json "
195+ $ref : " ../../specification/ilm/migrate_to_data_tiers/examples/request/RequestExample1.yaml "
196196 responses :
197197 200 :
198198 content :
199199 application/json :
200200 examples :
201201 migrateToDataTiersResponseExample1 :
202- $ref : " ../../specification/ilm/migrate_to_data_tiers/MigrateToDataTiersResponseExample1.json "
202+ $ref : " ../../specification/ilm/migrate_to_data_tiers/examples/response/ResponseExample1.yaml "
203203 - target : " $.paths['/_ilm/move/{index}']['post']"
204204 description : " Add examples for move to lifecycle step operation"
205205 update :
@@ -208,14 +208,16 @@ actions:
208208 application/json :
209209 examples :
210210 moveToStepRequestExample1 :
211- $ref : " ../../specification/ilm/move_to_step/MoveToStepRequestExample1.json"
211+ $ref : " ../../specification/ilm/move_to_step/examples/request/MoveToStepRequestExample1.yaml"
212+ moveToStepRequestExample2 :
213+ $ref : " ../../specification/ilm/move_to_step/examples/request/MoveToStepRequestExample2.yaml"
212214 responses :
213215 200 :
214216 content :
215217 application/json :
216218 examples :
217219 moveToStepResponseExample1 :
218- $ref : " ../../specification/ilm/move_to_step/MoveToStepResponseExample1.json "
220+ $ref : " ../../specification/ilm/move_to_step/examples/response/ MoveToStepResponseExample1.yaml "
219221 - target : " $.paths['/_ilm/start']['post']"
220222 description : " Add examples for start index lifecycle management operation"
221223 update :
@@ -225,7 +227,7 @@ actions:
225227 application/json :
226228 examples :
227229 startILMResponseExample1 :
228- $ref : " ../../specification/ilm/start/StartILMResponseExample1.json "
230+ $ref : " ../../specification/ilm/start/examples/response/ StartILMResponseExample1.yaml "
229231 - target : " $.paths['/_ilm/stop']['post']"
230232 description : " Add examples for stop index lifecycle management operation"
231233 update :
@@ -235,7 +237,7 @@ actions:
235237 application/json :
236238 examples :
237239 stopILMResponseExample1 :
238- $ref : " ../../specification/ilm/stop/stopILMResponseExample1.json "
240+ $ref : " ../../specification/ilm/stop/examples/response/StopILMResponseExample1.yaml "
239241 - target : " $.paths['/_ilm/status']['get']"
240242 description : " Add examples for get index lifecycle management status operation"
241243 update :
@@ -245,7 +247,7 @@ actions:
245247 application/json :
246248 examples :
247249 getILMStatusResponseExample1 :
248- $ref : " ../../specification/ilm/get_status/GetILMStatusResponseExample1.json "
250+ $ref : " ../../specification/ilm/get_status/examples/response/ GetILMStatusResponseExample1.yaml "
249251 - target : " $.paths['/{index}/_ilm/explain']['get']"
250252 description : " Add examples for explain lifecycle operation"
251253 update :
@@ -255,7 +257,7 @@ actions:
255257 application/json :
256258 examples :
257259 explainLifecycleResponseExample1 :
258- $ref : " ../../specification/ilm/explain_lifecycle/ExplainLifecycleResponseExample1.json "
260+ $ref : " ../../specification/ilm/explain_lifecycle/examples/response/ ExplainLifecycleResponseExample1.yaml "
259261 - target : " $.paths['/{index}/_ilm/remove']['post']"
260262 description : " Add examples for remove policy from index operation"
261263 update :
@@ -265,7 +267,7 @@ actions:
265267 application/json :
266268 examples :
267269 removePolicyResponseExample1 :
268- $ref : " ../../specification/ilm/remove_policy/RemovePolicyResponseExample1.json "
270+ $ref : " ../../specification/ilm/remove_policy/examples/response/ RemovePolicyResponseExample1.yaml "
269271 - target : " $.components['requestBodies']['indices.clone']"
270272 description : " Add examples for clone index request"
271273 update :
@@ -283,7 +285,7 @@ actions:
283285 application/json :
284286 examples :
285287 indicesCloseResponseExample1 :
286- $ref : " ../../specification/indices/close/indicesCloseResponseExample1 .yaml"
288+ $ref : " ../../specification/indices/close/examples/response/CloseIndexResponseExample1 .yaml"
287289 - target : " $.components['responses']['indices.data_streams_stats#200']"
288290 description : " Add example for data stream stats response"
289291 update :
0 commit comments