Skip to content

Commit 95d9ab7

Browse files
authored
Add watcher.get_settings and watcher.update_settings (#3397) (#3500)
(cherry picked from commit f31d8cf)
1 parent 99ad144 commit 95d9ab7

File tree

12 files changed

+493
-21
lines changed

12 files changed

+493
-21
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,4 +519,25 @@ actions:
519519
application/json:
520520
examples:
521521
delegatePkiResponseExample1:
522-
$ref: "../../specification/security/delegate_pki/examples/200_response/SecurityDelegatePkiResponseExample1.yaml"
522+
$ref: "../../specification/security/delegate_pki/examples/200_response/SecurityDelegatePkiResponseExample1.yaml"
523+
## Examples for watcher
524+
- target: "$.paths['/_watcher/settings']['put']"
525+
description: "Add request example for update watcher settings"
526+
update:
527+
requestBody:
528+
content:
529+
application/json:
530+
examples:
531+
updateWatcherSettingsRequestExample1:
532+
$ref: "../../specification/watcher/update_settings/examples/request/WatcherUpdateSettingsRequestExample1.yaml"
533+
- target: "$.paths['/_watcher/settings']['get']"
534+
description: "Add response example for get watcher settings"
535+
update:
536+
responses:
537+
200:
538+
content:
539+
application/json:
540+
examples:
541+
updateWatcherSettingsRequestExample1:
542+
$ref: "../../specification/watcher/get_settings/examples/200_response/WatcherGetSettingsResponseExample1.yaml"
543+

output/openapi/elasticsearch-openapi.json

Lines changed: 110 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 183 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)