Skip to content

Commit 4054e66

Browse files
committed
Add example for get basic status
1 parent 033a4f7 commit 4054e66

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,16 @@ actions:
393393
indicesLegacyPutTemplateRequestExample1:
394394
$ref: "../../specification/indices/put_template/indicesPutTemplateRequestExample1.yaml"
395395
## 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"
396406
- target: "$.paths['/_license/trial_status']['get']"
397407
description: "Add example for get trial status response"
398408
update:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# summary: licensing/get-basic-status.asciidoc:42
2+
description: A successful response from `GET /_license/basic_status`.
3+
# type: response
4+
# response_code: ''
5+
value:
6+
eligible_to_start_basic: true

specification/license/get_basic_status/licensingGetBasicStatusResponseExample1.yaml

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

0 commit comments

Comments
 (0)