Update api spec (#313)

* 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]
2024-10-29 17:42:26 -07:00
committed by GitHub
parent ee9f0029f4
commit 121575c8ae
8 changed files with 962 additions and 778 deletions

View File

@ -79,6 +79,20 @@ class OptionTangentialArcTo(BaseModel):
model_config = ConfigDict(protected_namespaces=())
class OptionArcTo(BaseModel):
"""Adds an arc from the current position that goes through the given interior point and ends at the given end position"""
end: Point3d
interior: Point3d
relative: bool
type: Literal["arc_to"] = "arc_to"
model_config = ConfigDict(protected_namespaces=())
PathSegment = RootModel[
Annotated[
Union[
@ -87,6 +101,7 @@ PathSegment = RootModel[
OptionBezier,
OptionTangentialArc,
OptionTangentialArcTo,
OptionArcTo,
],
Field(discriminator="type"),
]