Update api spec (#246)
* 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
5b4ccc2e5d
commit
afcc28e256
@ -1,4 +1,4 @@
|
||||
from typing import Literal, Union
|
||||
from typing import Literal, Optional, Union
|
||||
|
||||
from pydantic import BaseModel, ConfigDict, Field, RootModel
|
||||
from typing_extensions import Annotated
|
||||
@ -50,6 +50,8 @@ class ply(BaseModel):
|
||||
class sldprt(BaseModel):
|
||||
"""SolidWorks part (SLDPRT) format."""
|
||||
|
||||
split_closed_faces: Optional[bool] = None
|
||||
|
||||
type: Literal["sldprt"] = "sldprt"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
@ -58,6 +60,8 @@ class sldprt(BaseModel):
|
||||
class step(BaseModel):
|
||||
"""ISO 10303-21 (STEP) format."""
|
||||
|
||||
split_closed_faces: Optional[bool] = None
|
||||
|
||||
type: Literal["step"] = "step"
|
||||
|
||||
model_config = ConfigDict(protected_namespaces=())
|
||||
|
Reference in New Issue
Block a user