chore: re-add text/event-stream media type

Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han 2025-11-12 11:30:37 +01:00
parent 66056ddb87
commit e3d831f504
No known key found for this signature in database
4 changed files with 120 additions and 26 deletions

View file

@ -1513,6 +1513,9 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/OpenAIResponseObject'
text/event-stream:
schema:
$ref: '#/components/schemas/OpenAIResponseObjectStream'
'400':
$ref: '#/components/responses/BadRequest400'
description: Bad Request
@ -1866,6 +1869,9 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/OpenAIChatCompletion'
text/event-stream:
schema:
$ref: '#/components/schemas/OpenAIChatCompletionChunk'
'400':
$ref: '#/components/responses/BadRequest400'
description: Bad Request