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:
zoo-github-actions-auth[bot]
2024-08-09 13:44:40 -07:00
committed by GitHub
parent 5b4ccc2e5d
commit afcc28e256
3 changed files with 627 additions and 613 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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=())

View File

@ -17602,6 +17602,11 @@
"description": "SolidWorks part (SLDPRT) format.",
"type": "object",
"properties": {
"split_closed_faces": {
"description": "Splits all closed faces into two open faces.\n\nDefaults to `false` but is implicitly `true` when importing into the engine.",
"default": false,
"type": "boolean"
},
"type": {
"type": "string",
"enum": [
@ -17617,6 +17622,11 @@
"description": "ISO 10303-21 (STEP) format.",
"type": "object",
"properties": {
"split_closed_faces": {
"description": "Splits all closed faces into two open faces.\n\nDefaults to `false` but is implicitly `true` when importing into the engine.",
"default": false,
"type": "boolean"
},
"type": {
"type": "string",
"enum": [