diff --git a/docs/overlays/elasticsearch-openapi-overlays.yaml b/docs/overlays/elasticsearch-openapi-overlays.yaml index a7cb17184e..c136895803 100644 --- a/docs/overlays/elasticsearch-openapi-overlays.yaml +++ b/docs/overlays/elasticsearch-openapi-overlays.yaml @@ -616,14 +616,15 @@ actions: indicesLegacyPutTemplateRequestExample1: $ref: "../../specification/indices/put_template/examples/request/indicesPutTemplateRequestExample1.yaml" ## Examples for inference - - target: "$.components['requestBodies']['inference.stream_inference']" + - target: "$.paths['/_inference/chat_completion/{inference_id}/_stream']['post']" description: "Add example for inference stream request" update: - content: - application/json: - examples: - streamInferenceRequestExample1: - $ref: "../../specification/inference/stream_inference/examples/request/StreamInferenceRequestExample1.yaml" + requestBody: + content: + application/json: + examples: + streamInferenceRequestExample1: + $ref: "../../specification/inference/stream_completion/examples/request/StreamInferenceRequestExample1.yaml" ## Examples for ingest - target: "$.components['requestBodies']['simulate.ingest']" description: "Add example for simulate ingest request"