Skip to content

Commit 8e770e3

Browse files
committed
Add examples for start basic
1 parent 4054e66 commit 8e770e3

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,16 @@ actions:
413413
examples:
414414
getLicenseResponseExample1:
415415
$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"
416426
- target: "$.paths['/_license/start_trial']['post']"
417427
description: "Add example for start trial response"
418428
update:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# summary:
2+
description: A successful response from `POST /_license/start_basic?acknowledge=true`. If you currently have a license with more features than a basic license and you start a basic license, you must pass the acknowledge parameter.
3+
# type: response
4+
# response_code: ''
5+
value:
6+
basic_was_started: true
7+
acknowledged: true

0 commit comments

Comments
 (0)