@@ -392,6 +392,63 @@ actions:
392392 examples :
393393 indicesLegacyPutTemplateRequestExample1 :
394394 $ref : " ../../specification/indices/put_template/indicesPutTemplateRequestExample1.yaml"
395+ # # Examples for licensing
396+ - target : " $.paths['/_license/basic_status']['get']"
397+ description : " Add example for get basic status response"
398+ update :
399+ responses :
400+ 200 :
401+ content :
402+ application/json :
403+ examples :
404+ getBasicStatusResponseExample1 :
405+ $ref : " ../../specification/license/get_basic_status/GetBasicLicenseStatusResponseExample1.yaml"
406+ - target : " $.paths['/_license/trial_status']['get']"
407+ description : " Add example for get trial status response"
408+ update :
409+ responses :
410+ 200 :
411+ content :
412+ application/json :
413+ examples :
414+ getLicenseResponseExample1 :
415+ $ref : " ../../specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml"
416+ - target : " $.paths['/_license/start_basic']['post']"
417+ description : " Add example for start basic response"
418+ update :
419+ responses :
420+ 200 :
421+ content :
422+ application/json :
423+ examples :
424+ startBasicLicenseResponseExample1 :
425+ $ref : " ../../specification/license/post_start_basic/StartBasicLicenseResponseExample1.yaml"
426+ - target : " $.paths['/_license/start_trial']['post']"
427+ description : " Add example for start trial response"
428+ update :
429+ responses :
430+ 200 :
431+ content :
432+ application/json :
433+ examples :
434+ startTrialLicenseResponseExample1 :
435+ $ref : " ../../specification/license/post_start_trial/StartTrialLicenseResponseExample1.yaml"
436+ - target : " $.components['requestBodies']['license.post']"
437+ description : " Add examples for update license request"
438+ update :
439+ content :
440+ application/json :
441+ examples :
442+ updateLicenseRequestExample1 :
443+ $ref : " ../../specification/license/post/PostLicenseRequestExample1.yaml"
444+ - target : " $.components['responses']['license.post#200']"
445+ description : " Add examples for update license response"
446+ update :
447+ content :
448+ application/json :
449+ examples :
450+ clusterHealthResponseExample1 :
451+ $ref : " ../../specification/license/post/PostLicenseResponseExample1.yaml"
395452# # Examples for search applications
396453 - target : " $.paths['/_application/search_application/{name}/_render_query']['post']"
397454 description : " Add examples for render search application query operation"
@@ -402,10 +459,5 @@ actions:
402459 examples :
403460 renderSearchApplicationQueryRequestExample1 :
404461 $ref : " ../../specification/search_application/render_query/SearchApplicationsRenderQueryRequestExample1.yaml"
405- responses :
406- 200 :
407- content :
408- application/json :
409- examples :
410462 renderSearchApplicationQueryResponseExample1 :
411463 $ref : " ../../specification/search_application/render_query/SearchApplicationsRenderQueryResponseExample1.yaml"
0 commit comments