diff --git a/docs/overlays/elasticsearch-openapi-overlays.yaml b/docs/overlays/elasticsearch-openapi-overlays.yaml index 3c99fe1812..d83cc61e8b 100644 --- a/docs/overlays/elasticsearch-openapi-overlays.yaml +++ b/docs/overlays/elasticsearch-openapi-overlays.yaml @@ -618,14 +618,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"