Skip to content

Commit f3c9efb

Browse files
committed
Add trial status example
1 parent f337a74 commit f3c9efb

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,4 +391,15 @@ actions:
391391
application/json:
392392
examples:
393393
indicesLegacyPutTemplateRequestExample1:
394-
$ref: "../../specification/indices/put_template/indicesPutTemplateRequestExample1.yaml"
394+
$ref: "../../specification/indices/put_template/indicesPutTemplateRequestExample1.yaml"
395+
## Examples for licensing
396+
- target: "$.paths['/_license/trial_status']['get']"
397+
description: "Add example for get trial status response"
398+
update:
399+
responses:
400+
200:
401+
content:
402+
application/json:
403+
examples:
404+
getLicenseResponseExample1:
405+
$ref: "../../specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# summary: licensing/get-trial-status.asciidoc:47
2+
description: A successful response from `GET /_license/trial_status`.
3+
# type: response
4+
# response_code: ''
5+
value:
6+
eligible_to_start_trial: true

specification/license/get_trial_status/licensingGetTrialStatusResponseExample1.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)