From e0e80c538aff1edc602fe332df2b0859530de938 Mon Sep 17 00:00:00 2001 From: robert-j-y <212159665+robert-j-y@users.noreply.github.com> Date: Tue, 5 May 2026 21:16:03 -0700 Subject: [PATCH] chore: update OpenAPI spec from monorepo (#224) Co-authored-by: OpenRouter SDK Bot --- .speakeasy/in.openapi.yaml | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index ba4a1b2..baaa54d 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -4184,6 +4184,25 @@ components: $ref: '#/components/schemas/ChatStreamToolCall' type: array type: object + ChatStreamingResponse: + example: + data: + choices: + - delta: + content: Hello + role: assistant + finish_reason: null + index: 0 + created: 1677652288 + id: chatcmpl-123 + model: openai/gpt-4 + object: chat.completion.chunk + properties: + data: + $ref: '#/components/schemas/ChatStreamChunk' + required: + - data + type: object ChatStreamOptions: description: Streaming configuration options example: @@ -15448,12 +15467,7 @@ paths: model: openai/gpt-4 object: chat.completion.chunk schema: - properties: - data: - $ref: '#/components/schemas/ChatStreamChunk' - required: - - data - type: object + $ref: '#/components/schemas/ChatStreamingResponse' x-speakeasy-sse-sentinel: '[DONE]' description: Successful chat completion response '400':