Skip to content

Commit 2a8e37c

Browse files
Update api spec (#131)
* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 586a131 commit 2a8e37c

File tree

2 files changed

+49
-9
lines changed

2 files changed

+49
-9
lines changed

spec.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21333,6 +21333,36 @@
2133321333
"type"
2133421334
]
2133521335
},
21336+
{
21337+
"description": "Fit the view to the specified object(s).",
21338+
"type": "object",
21339+
"properties": {
21340+
"object_ids": {
21341+
"nullable": true,
21342+
"description": "Which objects to fit to",
21343+
"type": "array",
21344+
"items": {
21345+
"type": "string",
21346+
"format": "uuid"
21347+
}
21348+
},
21349+
"padding": {
21350+
"description": "How much to pad the view frame by.",
21351+
"type": "number",
21352+
"format": "float"
21353+
},
21354+
"type": {
21355+
"type": "string",
21356+
"enum": [
21357+
"zoom_to_fit"
21358+
]
21359+
}
21360+
},
21361+
"required": [
21362+
"padding",
21363+
"type"
21364+
]
21365+
},
2133621366
{
2133721367
"description": "Get a concise description of all of an extrusion's faces.",
2133821368
"type": "object",

types.go

Lines changed: 19 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)