Update api spec (#225)
* 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:
committed by
GitHub
parent
d31d9507d2
commit
60c42befdf
@ -49,7 +49,9 @@ from ..models.solid3d_get_opposite_edge import Solid3dGetOppositeEdge
|
||||
from ..models.solid3d_get_prev_adjacent_edge import Solid3dGetPrevAdjacentEdge
|
||||
from ..models.surface_area import SurfaceArea
|
||||
from ..models.take_snapshot import TakeSnapshot
|
||||
from ..models.view_isometric import ViewIsometric
|
||||
from ..models.volume import Volume
|
||||
from ..models.zoom_to_fit import ZoomToFit
|
||||
|
||||
|
||||
class empty(BaseModel):
|
||||
@ -170,6 +172,26 @@ class default_camera_zoom(BaseModel):
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class zoom_to_fit(BaseModel):
|
||||
"""The response to the 'ZoomToFit' endpoint"""
|
||||
|
||||
data: ZoomToFit
|
||||
|
||||
type: Literal["zoom_to_fit"] = "zoom_to_fit"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class view_isometric(BaseModel):
|
||||
"""The response to the 'ViewIsometric' endpoint"""
|
||||
|
||||
data: ViewIsometric
|
||||
|
||||
type: Literal["view_isometric"] = "view_isometric"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
||||
|
||||
class get_num_objects(BaseModel):
|
||||
"""The response to the 'GetNumObjects' endpoint"""
|
||||
|
||||
@ -547,6 +569,8 @@ OkModelingCmdResponse = RootModel[
|
||||
camera_drag_end,
|
||||
default_camera_get_settings,
|
||||
default_camera_zoom,
|
||||
zoom_to_fit,
|
||||
view_isometric,
|
||||
get_num_objects,
|
||||
default_camera_focus_on,
|
||||
select_get,
|
||||
|
Reference in New Issue
Block a user