Update api spec (#427)

* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
zoo-github-actions-auth[bot]
2025-05-01 11:42:30 -07:00
committed by GitHub
parent 2bd736096a
commit 6572a92004
13 changed files with 1162 additions and 904 deletions

View File

@ -170,6 +170,24 @@ class OptionPong(BaseModel):
model_config = ConfigDict(protected_namespaces=())
class DebugData(BaseModel):
""""""
name: str
model_config = ConfigDict(protected_namespaces=())
class OptionDebug(BaseModel):
"""Information about the connected instance"""
data: DebugData
type: Literal["debug"] = "debug"
model_config = ConfigDict(protected_namespaces=())
OkWebSocketResponseData = RootModel[
Annotated[
Union[
@ -182,6 +200,7 @@ OkWebSocketResponseData = RootModel[
OptionMetricsRequest,
OptionModelingSessionData,
OptionPong,
OptionDebug,
],
Field(discriminator="type"),
]