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

@ -75,6 +75,14 @@ class OptionMetricsResponse(BaseModel):
model_config = ConfigDict(protected_namespaces=())
class OptionDebug(BaseModel):
"""Return information about the connected instance"""
type: Literal["debug"] = "debug"
model_config = ConfigDict(protected_namespaces=())
class OptionHeaders(BaseModel):
"""Authentication header request."""
@ -94,6 +102,7 @@ WebSocketRequest = RootModel[
OptionModelingCmdBatchReq,
OptionPing,
OptionMetricsResponse,
OptionDebug,
OptionHeaders,
],
Field(discriminator="type"),