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:
committed by
GitHub
parent
ee9f0029f4
commit
121575c8ae
@ -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"),
|
||||
]
|
||||
|
Reference in New Issue
Block a user