further fixes according to investigation and PR comments

This commit is contained in:
r-bit-rry 2025-11-30 17:31:07 +02:00
parent 9b3c041af0
commit c3c9edf981
14 changed files with 212 additions and 30 deletions

View file

@ -289,11 +289,14 @@ paths:
post:
responses:
'200':
description: An OpenAICompletion.
description: An OpenAICompletion or an async iterator of OpenAICompletion chunks when streaming.
content:
application/json:
schema:
$ref: '#/components/schemas/OpenAICompletion'
text/event-stream:
schema:
$ref: '#/components/schemas/OpenAICompletion'
'400':
description: Bad Request
$ref: '#/components/responses/BadRequest400'