Skip to content

Commit c283b7e

Browse files
Update api spec (#716)
* YOYO NEW API SPEC! * I have generated the library! --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 0d06eae commit c283b7e

3 files changed

Lines changed: 24 additions & 0 deletions

File tree

kittycad/src/types.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13103,6 +13103,9 @@ pub enum OutputFormat3D {
1310313103
#[doc = "Autodesk Filmbox (FBX) format."]
1310413104
#[serde(rename = "fbx")]
1310513105
Fbx {
13106+
#[doc = "Timestamp override."]
13107+
#[serde(default, skip_serializing_if = "Option::is_none")]
13108+
created: Option<chrono::DateTime<chrono::Utc>>,
1310613109
#[doc = "Specifies which kind of FBX will be exported."]
1310713110
storage: FbxStorage,
1310813111
},
@@ -13144,6 +13147,9 @@ pub enum OutputFormat3D {
1314413147
#[doc = "Co-ordinate system of output data.\n\nDefaults to the [KittyCAD co-ordinate \
1314513148
system].\n\n[KittyCAD co-ordinate system]: ../coord/constant.KITTYCAD.html"]
1314613149
coords: System,
13150+
#[doc = "Timestamp override."]
13151+
#[serde(default, skip_serializing_if = "Option::is_none")]
13152+
created: Option<chrono::DateTime<chrono::Utc>>,
1314713153
},
1314813154
#[doc = "*ST**ereo**L**ithography format."]
1314913155
#[serde(rename = "stl")]

openapitor/tests/types/kittycad.rs.gen

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12829,6 +12829,9 @@ pub enum OutputFormat3D {
1282912829
#[doc = "Autodesk Filmbox (FBX) format."]
1283012830
#[serde(rename = "fbx")]
1283112831
Fbx {
12832+
#[doc = "Timestamp override."]
12833+
#[serde(default, skip_serializing_if = "Option::is_none")]
12834+
created: Option<chrono::DateTime<chrono::Utc>>,
1283212835
#[doc = "Specifies which kind of FBX will be exported."]
1283312836
storage: FbxStorage,
1283412837
},
@@ -12865,6 +12868,9 @@ pub enum OutputFormat3D {
1286512868
Step {
1286612869
#[doc = "Co-ordinate system of output data.\n\nDefaults to the [KittyCAD co-ordinate system].\n\n[KittyCAD co-ordinate system]: ../coord/constant.KITTYCAD.html"]
1286712870
coords: System,
12871+
#[doc = "Timestamp override."]
12872+
#[serde(default, skip_serializing_if = "Option::is_none")]
12873+
created: Option<chrono::DateTime<chrono::Utc>>,
1286812874
},
1286912875
#[doc = "*ST**ereo**L**ithography format."]
1287012876
#[serde(rename = "stl")]

spec.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28978,6 +28978,12 @@
2897828978
"description": "Autodesk Filmbox (FBX) format.",
2897928979
"type": "object",
2898028980
"properties": {
28981+
"created": {
28982+
"nullable": true,
28983+
"description": "Timestamp override.",
28984+
"type": "string",
28985+
"format": "date-time"
28986+
},
2898128987
"storage": {
2898228988
"description": "Specifies which kind of FBX will be exported.",
2898328989
"allOf": [
@@ -29127,6 +29133,12 @@
2912729133
}
2912829134
]
2912929135
},
29136+
"created": {
29137+
"nullable": true,
29138+
"description": "Timestamp override.",
29139+
"type": "string",
29140+
"format": "date-time"
29141+
},
2913029142
"type": {
2913129143
"type": "string",
2913229144
"enum": [

0 commit comments

Comments
 (0)