Skip to content

Commit 4e075de

Browse files
authored
chore: update OpenAPI specification from openrouter-web (#53)
Co-authored-by: mattapperson <[email protected]>
1 parent ee03388 commit 4e075de

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

.speakeasy/in.openapi.yaml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4584,9 +4584,7 @@ components:
45844584
uptime_last_30m: 99.5
45854585
supports_implicit_caching: true
45864586
__schema0:
4587-
anyOf:
4588-
- $ref: '#/components/schemas/ChatCompletionFinishReason'
4589-
- type: 'null'
4587+
type: string
45904588
ChatMessageContentItemText:
45914589
type: object
45924590
properties:
@@ -4769,14 +4767,6 @@ components:
47694767
- completion_tokens
47704768
- prompt_tokens
47714769
- total_tokens
4772-
ChatCompletionFinishReason:
4773-
type: string
4774-
enum:
4775-
- tool_calls
4776-
- stop
4777-
- length
4778-
- content_filter
4779-
- error
47804770
JSONSchemaConfig:
47814771
type: object
47824772
properties:
@@ -4990,7 +4980,11 @@ components:
49904980
items:
49914981
$ref: '#/components/schemas/Message'
49924982
model:
4993-
type: string
4983+
$ref: '#/components/schemas/__schema0'
4984+
models:
4985+
type: array
4986+
items:
4987+
$ref: '#/components/schemas/__schema0'
49944988
frequency_penalty:
49954989
anyOf:
49964990
- type: number
@@ -5125,7 +5119,6 @@ components:
51255119
type: string
51265120
required:
51275121
- messages
5128-
- model
51295122
ChatResponseChoice:
51305123
type: object
51315124
properties:
@@ -5361,7 +5354,11 @@ components:
53615354
type: object
53625355
properties:
53635356
model:
5364-
type: string
5357+
$ref: '#/components/schemas/__schema0'
5358+
models:
5359+
type: array
5360+
items:
5361+
$ref: '#/components/schemas/__schema0'
53655362
prompt:
53665363
anyOf:
53675364
- type: string
@@ -5505,7 +5502,6 @@ components:
55055502
type: object
55065503
- type: 'null'
55075504
required:
5508-
- model
55095505
- prompt
55105506
CompletionChoice:
55115507
type: object

0 commit comments

Comments
 (0)