@@ -71,7 +71,7 @@ actions:
71
71
application/json :
72
72
examples :
73
73
getFeaturesResponseExample1 :
74
- $ref : " ../../specification/features/get_features/FeaturesApiResponseExample1.json "
74
+ $ref : " ../../specification/features/get_features/examples/response/GetFeaturesResponseExample1.yaml "
75
75
- target : " $.paths['/_features/_reset']['post']"
76
76
description : " Add examples for reset features operation"
77
77
update :
@@ -81,23 +81,23 @@ actions:
81
81
application/json :
82
82
examples :
83
83
resetFeaturesResponseExample1 :
84
- $ref : " ../../specification/features/reset_features/ResetFeaturesResponseExample1.json "
84
+ $ref : " ../../specification/features/reset_features/examples/response/ ResetFeaturesResponseExample1.yaml "
85
85
- target : " $.components['requestBodies']['cluster.allocation_explain']"
86
86
description : " Add examples for cluster allocation explain operation"
87
87
update :
88
88
content :
89
89
application/json :
90
90
examples :
91
91
clusterAllocationExplainRequestExample1 :
92
- $ref : " ../../specification/cluster/allocation_explain/clusterAllocationExplainRequestExample1.json "
92
+ $ref : " ../../specification/cluster/allocation_explain/examples/request/ clusterAllocationExplainRequestExample1.yaml "
93
93
- target : " $.components['responses']['cluster.health#200']"
94
94
description : " Add examples for cluster health operation"
95
95
update :
96
96
content :
97
97
application/json :
98
98
examples :
99
99
clusterHealthResponseExample1 :
100
- $ref : " ../../specification/cluster/health/clusterHealthResponseExample1.json "
100
+ $ref : " ../../specification/cluster/health/examples/response/ clusterHealthResponseExample1.yaml "
101
101
- target : " $.paths['/_cluster/settings']['put']"
102
102
description : " Add examples for cluster update settings operation"
103
103
update :
@@ -106,7 +106,7 @@ actions:
106
106
application/json :
107
107
examples :
108
108
clusterPutSettingsRequestExample1 :
109
- $ref : " ../../specification/cluster/put_settings/clusterPutSettingsRequestExample1.json "
109
+ $ref : " ../../specification/cluster/put_settings/examples/request/ClusterPutSettingsRequestExample1.yaml "
110
110
- target : " $.paths['/_cluster/reroute']['post']"
111
111
description : " Add examples for cluster reroute operation"
112
112
update :
@@ -115,23 +115,23 @@ actions:
115
115
application/json :
116
116
examples :
117
117
clusterRerouteRequestExample1 :
118
- $ref : " ../../specification/cluster/reroute/clusterRerouteRequestExample1.json "
118
+ $ref : " ../../specification/cluster/reroute/examples/request/ClusterRerouteRequestExample1.yaml "
119
119
- target : " $.components['requestBodies']['nodes.reload_secure_settings']"
120
120
description : " Add examples for nodes reload secure settings operation"
121
121
update :
122
122
content :
123
123
application/json :
124
124
examples :
125
125
clusterNodesReloadSecureSettingsRequestExample1 :
126
- $ref : " ../../specification/nodes/reload_secure_settings/clusterNodesReloadSecureSettingsRequestExample1.json "
126
+ $ref : " ../../specification/nodes/reload_secure_settings/examples/request/ReloadSecureSettingsRequestExample1.yaml "
127
127
- target : " $.components['responses']['nodes.reload_secure_settings#200']"
128
128
description : " Add response examples for nodes reload secure settings operation"
129
129
update :
130
130
content :
131
131
application/json :
132
132
examples :
133
133
clusterNodesReloadSecureSettingsResponseExample1 :
134
- $ref : " ../../specification/nodes/reload_secure_settings/clusterNodesReloadSecureSettingsResponseExample1.json "
134
+ $ref : " ../../specification/nodes/reload_secure_settings/examples/response/ReloadSecureSettingsResponseExample1.yaml "
135
135
- target : " $.paths['/_tasks']['get']"
136
136
description : " Add examples for task management operation"
137
137
update :
@@ -141,7 +141,7 @@ actions:
141
141
application/json :
142
142
examples :
143
143
getTasksResponseExample1 :
144
- $ref : " ../../specification/tasks/get/getTasksResponseExample1.json "
144
+ $ref : " ../../specification/tasks/get/examples/response/GetTaskResponseExample1.yaml "
145
145
- target : " $.components['responses']['nodes.info#200']"
146
146
description : " Add response examples for nodes info"
147
147
update :
@@ -159,7 +159,7 @@ actions:
159
159
application/json :
160
160
examples :
161
161
deleteLifecycleResponseExample1 :
162
- $ref : " ../../specification/ilm/delete_lifecycle/DeleteLifecycleResponseExample1.json "
162
+ $ref : " ../../specification/ilm/delete_lifecycle/examples/response/ DeleteLifecycleResponseExample1.yaml "
163
163
- target : " $.paths['/_ilm/policy/{policy}']['put']"
164
164
description : " Add examples for create a lifecycle operation"
165
165
update :
@@ -168,22 +168,22 @@ actions:
168
168
application/json :
169
169
examples :
170
170
putLifecycleRequestExample1 :
171
- $ref : " ../../specification/ilm/put_lifecycle/PutLifecycleRequestExample1.json "
171
+ $ref : " ../../specification/ilm/put_lifecycle/examples/request/ PutLifecycleRequestExample1.yaml "
172
172
responses :
173
173
200 :
174
174
content :
175
175
application/json :
176
176
examples :
177
177
putLifecycleResponseExample1 :
178
- $ref : " ../../specification/ilm/put_lifecycle/PutLifecycleResponseExample1.json "
178
+ $ref : " ../../specification/ilm/put_lifecycle/examples/response/ PutLifecycleResponseExample1.yaml "
179
179
- target : " $.components['responses']['ilm.get_lifecycle#200']"
180
180
description : " Add examples for get lifecycle policy operation"
181
181
update :
182
182
content :
183
183
application/json :
184
184
examples :
185
185
getLifecycleResponseExample1 :
186
- $ref : " ../../specification/ilm/get_lifecycle/GetLifecycleResponseExample1.json "
186
+ $ref : " ../../specification/ilm/get_lifecycle/examples/response/ GetLifecycleResponseExample1.yaml "
187
187
- target : " $.paths['/_ilm/migrate_to_data_tiers']['post']"
188
188
description : " Add examples for migrate to data tiers routing operation"
189
189
update :
@@ -192,14 +192,14 @@ actions:
192
192
application/json :
193
193
examples :
194
194
migrateToDataTiersRequestExample1 :
195
- $ref : " ../../specification/ilm/migrate_to_data_tiers/MigrateToDataTiersRequestExample1.json "
195
+ $ref : " ../../specification/ilm/migrate_to_data_tiers/examples/request/RequestExample1.yaml "
196
196
responses :
197
197
200 :
198
198
content :
199
199
application/json :
200
200
examples :
201
201
migrateToDataTiersResponseExample1 :
202
- $ref : " ../../specification/ilm/migrate_to_data_tiers/MigrateToDataTiersResponseExample1.json "
202
+ $ref : " ../../specification/ilm/migrate_to_data_tiers/examples/response/ResponseExample1.yaml "
203
203
- target : " $.paths['/_ilm/move/{index}']['post']"
204
204
description : " Add examples for move to lifecycle step operation"
205
205
update :
@@ -208,14 +208,16 @@ actions:
208
208
application/json :
209
209
examples :
210
210
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"
212
214
responses :
213
215
200 :
214
216
content :
215
217
application/json :
216
218
examples :
217
219
moveToStepResponseExample1 :
218
- $ref : " ../../specification/ilm/move_to_step/MoveToStepResponseExample1.json "
220
+ $ref : " ../../specification/ilm/move_to_step/examples/response/ MoveToStepResponseExample1.yaml "
219
221
- target : " $.paths['/_ilm/start']['post']"
220
222
description : " Add examples for start index lifecycle management operation"
221
223
update :
@@ -225,7 +227,7 @@ actions:
225
227
application/json :
226
228
examples :
227
229
startILMResponseExample1 :
228
- $ref : " ../../specification/ilm/start/StartILMResponseExample1.json "
230
+ $ref : " ../../specification/ilm/start/examples/response/ StartILMResponseExample1.yaml "
229
231
- target : " $.paths['/_ilm/stop']['post']"
230
232
description : " Add examples for stop index lifecycle management operation"
231
233
update :
@@ -235,7 +237,7 @@ actions:
235
237
application/json :
236
238
examples :
237
239
stopILMResponseExample1 :
238
- $ref : " ../../specification/ilm/stop/stopILMResponseExample1.json "
240
+ $ref : " ../../specification/ilm/stop/examples/response/StopILMResponseExample1.yaml "
239
241
- target : " $.paths['/_ilm/status']['get']"
240
242
description : " Add examples for get index lifecycle management status operation"
241
243
update :
@@ -245,7 +247,7 @@ actions:
245
247
application/json :
246
248
examples :
247
249
getILMStatusResponseExample1 :
248
- $ref : " ../../specification/ilm/get_status/GetILMStatusResponseExample1.json "
250
+ $ref : " ../../specification/ilm/get_status/examples/response/ GetILMStatusResponseExample1.yaml "
249
251
- target : " $.paths['/{index}/_ilm/explain']['get']"
250
252
description : " Add examples for explain lifecycle operation"
251
253
update :
@@ -255,7 +257,7 @@ actions:
255
257
application/json :
256
258
examples :
257
259
explainLifecycleResponseExample1 :
258
- $ref : " ../../specification/ilm/explain_lifecycle/ExplainLifecycleResponseExample1.json "
260
+ $ref : " ../../specification/ilm/explain_lifecycle/examples/response/ ExplainLifecycleResponseExample1.yaml "
259
261
- target : " $.paths['/{index}/_ilm/remove']['post']"
260
262
description : " Add examples for remove policy from index operation"
261
263
update :
@@ -265,7 +267,7 @@ actions:
265
267
application/json :
266
268
examples :
267
269
removePolicyResponseExample1 :
268
- $ref : " ../../specification/ilm/remove_policy/RemovePolicyResponseExample1.json "
270
+ $ref : " ../../specification/ilm/remove_policy/examples/response/ RemovePolicyResponseExample1.yaml "
269
271
- target : " $.components['requestBodies']['indices.clone']"
270
272
description : " Add examples for clone index request"
271
273
update :
@@ -283,7 +285,7 @@ actions:
283
285
application/json :
284
286
examples :
285
287
indicesCloseResponseExample1 :
286
- $ref : " ../../specification/indices/close/indicesCloseResponseExample1 .yaml"
288
+ $ref : " ../../specification/indices/close/examples/response/CloseIndexResponseExample1 .yaml"
287
289
- target : " $.components['responses']['indices.data_streams_stats#200']"
288
290
description : " Add example for data stream stats response"
289
291
update :
0 commit comments