fix: add overlay to remove nullable from pagination offset params (#121)

This commit is contained in:
Matt Apperson
2026-04-14 12:48:15 -04:00
committed by GitHub
parent 2bba049182
commit b2386114cd
440 changed files with 36150 additions and 32168 deletions
+45
View File
@@ -0,0 +1,45 @@
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from __future__ import annotations
from openrouter.types import BaseModel, UnrecognizedStr
from openrouter.utils import validate_open_enum
from pydantic.functional_validators import PlainValidator
from typing import Literal, Union
from typing_extensions import Annotated, TypedDict
class FrameImageImageURLTypedDict(TypedDict):
url: str
class FrameImageImageURL(BaseModel):
url: str
FrameImageType = Literal["image_url",]
FrameType = Union[
Literal[
"first_frame",
"last_frame",
],
UnrecognizedStr,
]
r"""Whether this image represents the first or last frame of the video"""
class FrameImageTypedDict(TypedDict):
image_url: FrameImageImageURLTypedDict
type: FrameImageType
frame_type: FrameType
r"""Whether this image represents the first or last frame of the video"""
class FrameImage(BaseModel):
image_url: FrameImageImageURL
type: FrameImageType
frame_type: Annotated[FrameType, PlainValidator(validate_open_enum(False))]
r"""Whether this image represents the first or last frame of the video"""