Skip to content

Commit

Permalink
Add watcher.get_settings and watcher.update_settings (#3397)
Browse files Browse the repository at this point in the history
(cherry picked from commit f31d8cf)
  • Loading branch information
lcawl committed Jan 9, 2025
1 parent 99ad144 commit ace1bf5
Show file tree
Hide file tree
Showing 12 changed files with 493 additions and 21 deletions.
23 changes: 22 additions & 1 deletion docs/overlays/elasticsearch-openapi-overlays.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -519,4 +519,25 @@ actions:
application/json:
examples:
delegatePkiResponseExample1:
$ref: "../../specification/security/delegate_pki/examples/200_response/SecurityDelegatePkiResponseExample1.yaml"
$ref: "../../specification/security/delegate_pki/examples/200_response/SecurityDelegatePkiResponseExample1.yaml"
## Examples for watcher
- target: "$.paths['/_watcher/settings']['put']"
description: "Add request example for update watcher settings"
update:
requestBody:
content:
application/json:
examples:
updateWatcherSettingsRequestExample1:
$ref: "../../specification/watcher/update_settings/examples/request/WatcherUpdateSettingsRequestExample1.yaml"
- target: "$.paths['/_watcher/settings']['get']"
description: "Add response example for get watcher settings"
update:
responses:
200:
content:
application/json:
examples:
updateWatcherSettingsRequestExample1:
$ref: "../../specification/watcher/get_settings/examples/200_response/WatcherGetSettingsResponseExample1.yaml"

110 changes: 110 additions & 0 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

191 changes: 183 additions & 8 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions output/schema/validation-errors.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ace1bf5

Please sign in to comment.