Skip to content

Commit b238611

Browse files
authored
fix: add overlay to remove nullable from pagination offset params (#121)
1 parent 2bba049 commit b238611

440 files changed

Lines changed: 34384 additions & 30402 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.speakeasy/gen.lock‎

Lines changed: 2122 additions & 1593 deletions
Large diffs are not rendered by default.

‎.speakeasy/gen.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ generation:
3232
skipResponseBodyAssertions: false
3333
preApplyUnionDiscriminators: true
3434
python:
35-
version: 0.8.1
35+
version: 0.9.1
3636
additionalDependencies:
3737
dev: {}
3838
main: {}
@@ -59,7 +59,7 @@ python:
5959
flattenGlobalSecurity: true
6060
flattenRequests: true
6161
flatteningOrder: parameters-first
62-
forwardCompatibleUnionsByDefault: "tagged-only"
62+
forwardCompatibleUnionsByDefault: tagged-only
6363
imports:
6464
option: openapi
6565
paths:

‎.speakeasy/in.openapi.yaml‎

Lines changed: 61 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3511,6 +3511,7 @@ components:
35113511
- function
35123512
type: object
35133513
- $ref: '#/components/schemas/DatetimeServerTool'
3514+
- $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter'
35143515
- $ref: '#/components/schemas/ChatSearchModelsServerTool'
35153516
- $ref: '#/components/schemas/OpenRouterWebSearchServerTool'
35163517
- $ref: '#/components/schemas/ChatWebSearchShorthand'
@@ -3673,20 +3674,7 @@ components:
36733674
nullable: true
36743675
type: number
36753676
image_config:
3676-
additionalProperties:
3677-
anyOf:
3678-
- type: string
3679-
- format: double
3680-
type: number
3681-
- items:
3682-
nullable: true
3683-
type: array
3684-
description: >-
3685-
Provider-specific image configuration options. Keys and values vary by model/provider. See
3686-
https://openrouter.ai/docs/guides/overview/multimodal/image-generation for more details.
3687-
example:
3688-
aspect_ratio: '16:9'
3689-
type: object
3677+
$ref: '#/components/schemas/ImageConfig'
36903678
logit_bias:
36913679
additionalProperties:
36923680
format: double
@@ -5775,6 +5763,22 @@ components:
57755763
example: monthly
57765764
nullable: true
57775765
type: string
5766+
ImageConfig:
5767+
additionalProperties:
5768+
anyOf:
5769+
- type: string
5770+
- format: double
5771+
type: number
5772+
- items:
5773+
nullable: true
5774+
type: array
5775+
description: >-
5776+
Provider-specific image configuration options. Keys and values vary by model/provider. See
5777+
https://openrouter.ai/docs/guides/overview/multimodal/image-generation for more details.
5778+
example:
5779+
aspect_ratio: '16:9'
5780+
quality: high
5781+
type: object
57785782
ImageGenCallCompletedEvent:
57795783
allOf:
57805784
- $ref: '#/components/schemas/OpenAIResponsesImageGenCallCompleted'
@@ -5888,6 +5892,46 @@ components:
58885892
required:
58895893
- type
58905894
type: object
5895+
ImageGenerationServerTool_OpenRouter:
5896+
description: 'OpenRouter built-in server tool: generates images from text prompts using an image generation model'
5897+
example:
5898+
parameters:
5899+
model: openai/gpt-image-1
5900+
quality: high
5901+
size: 1024x1024
5902+
type: openrouter:image_generation
5903+
properties:
5904+
parameters:
5905+
$ref: '#/components/schemas/ImageGenerationServerToolConfig'
5906+
type:
5907+
enum:
5908+
- openrouter:image_generation
5909+
type: string
5910+
required:
5911+
- type
5912+
type: object
5913+
ImageGenerationServerToolConfig:
5914+
additionalProperties:
5915+
anyOf:
5916+
- type: string
5917+
- format: double
5918+
type: number
5919+
- items:
5920+
nullable: true
5921+
type: array
5922+
description: >-
5923+
Configuration for the openrouter:image_generation server tool. Accepts all image_config params (aspect_ratio,
5924+
quality, size, background, output_format, output_compression, moderation, etc.) plus a model field.
5925+
example:
5926+
aspect_ratio: '16:9'
5927+
model: openai/gpt-image-1
5928+
quality: high
5929+
properties:
5930+
model:
5931+
description: Which image generation model to use (e.g. "openai/gpt-image-1"). Defaults to "openai/gpt-image-1".
5932+
example: openai/gpt-image-1
5933+
type: string
5934+
type: object
58915935
ImageGenerationStatus:
58925936
enum:
58935937
- in_progress
@@ -7584,6 +7628,7 @@ components:
75847628
- name
75857629
type: object
75867630
- $ref: '#/components/schemas/DatetimeServerTool'
7631+
- $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter'
75877632
- $ref: '#/components/schemas/ChatSearchModelsServerTool'
75887633
- $ref: '#/components/schemas/OpenRouterWebSearchServerTool'
75897634
type: array
@@ -11316,17 +11361,7 @@ components:
1131611361
nullable: true
1131711362
type: number
1131811363
image_config:
11319-
additionalProperties:
11320-
anyOf:
11321-
- type: string
11322-
- format: double
11323-
type: number
11324-
description: >-
11325-
Provider-specific image configuration options. Keys and values vary by model/provider. See
11326-
https://openrouter.ai/docs/features/multimodal/image-generation for more details.
11327-
example:
11328-
aspect_ratio: '16:9'
11329-
type: object
11364+
$ref: '#/components/schemas/ImageConfig'
1133011365
include:
1133111366
items:
1133211367
$ref: '#/components/schemas/ResponseIncludesEnum'
@@ -11475,6 +11510,7 @@ components:
1147511510
- $ref: '#/components/schemas/ApplyPatchServerTool'
1147611511
- $ref: '#/components/schemas/CustomTool'
1147711512
- $ref: '#/components/schemas/DatetimeServerTool'
11513+
- $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter'
1147811514
- $ref: '#/components/schemas/ChatSearchModelsServerTool'
1147911515
- $ref: '#/components/schemas/WebSearchServerTool_OpenRouter'
1148011516
type: array

0 commit comments

Comments
 (0)