Skip to content

[DOCS] Add overlays to pull in _global examples #3634

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jan 28, 2025
Merged
10 changes: 10 additions & 0 deletions docs/overlays/elasticsearch-openapi-overlays.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,16 @@ actions:
examples:
indicesLegacyPutTemplateRequestExample1:
$ref: "../../specification/indices/put_template/examples/request/indicesPutTemplateRequestExample1.yaml"
- target: "$.paths['/_lifecycle/stats']['get']"
description: "Add examples for get lifecycle stats operation"
update:
responses:
200:
content:
application/json:
examples:
dataStreamLifecycleStatsResponseExample1:
$ref: "../../specification/indices/get_data_lifecycle_stats/examples/response/IndicesGetDataLifecycleStatsResponseExample1.yaml"
## Examples for inference
- target: "$.components['requestBodies']['inference.stream_inference']"
description: "Add example for inference stream request"
Expand Down
Loading
Loading