From dc9b0200298016d0c5b867692b180061672e26ff Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Mon, 17 Apr 2023 14:07:28 -0700 Subject: [PATCH] Update api spec (#70) * YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: github-actions[bot] --- spec.json | 8 +------- types.go | 10 ---------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/spec.json b/spec.json index de5c4fd..f5467a4 100644 --- a/spec.json +++ b/spec.json @@ -2988,7 +2988,6 @@ "description": "The valid types of Vector output file formats.", "enum": [ "dxf", - "json", "png", "ps", "svg" @@ -3011,7 +3010,6 @@ "fbx", "obj_zip", "obj", - "obj_nomtl", "ply", "step", "stl" @@ -3278,9 +3276,7 @@ "dxf", "fbx", "fbxb", - "json", "obj", - "obj_nomtl", "ply", "step", "stl", @@ -3296,7 +3292,6 @@ "fbx", "obj_zip", "obj", - "obj_nomtl", "ply", "step", "stl", @@ -15641,5 +15636,4 @@ "name": "users" } ] -} - +} \ No newline at end of file diff --git a/types.go b/types.go index 5a90af4..b9ace04 100755 --- a/types.go +++ b/types.go @@ -1795,8 +1795,6 @@ type File2DVectorExportFormat string const ( // File2DVectorExportFormatDxf represents the File2DVectorExportFormat `"dxf"`. File2DVectorExportFormatDxf File2DVectorExportFormat = "dxf" - // File2DVectorExportFormatJson represents the File2DVectorExportFormat `"json"`. - File2DVectorExportFormatJson File2DVectorExportFormat = "json" // File2DVectorExportFormatPng represents the File2DVectorExportFormat `"png"`. File2DVectorExportFormatPng File2DVectorExportFormat = "png" // File2DVectorExportFormatPs represents the File2DVectorExportFormat `"ps"`. @@ -1829,8 +1827,6 @@ const ( File3DImportFormatObjZip File3DImportFormat = "obj_zip" // File3DImportFormatObj represents the File3DImportFormat `"obj"`. File3DImportFormatObj File3DImportFormat = "obj" - // File3DImportFormatObjNomtl represents the File3DImportFormat `"obj_nomtl"`. - File3DImportFormatObjNomtl File3DImportFormat = "obj_nomtl" // File3DImportFormatPly represents the File3DImportFormat `"ply"`. File3DImportFormatPly File3DImportFormat = "ply" // File3DImportFormatStep represents the File3DImportFormat `"step"`. @@ -1933,12 +1929,8 @@ const ( FileExportFormatFbx FileExportFormat = "fbx" // FileExportFormatFbxb represents the FileExportFormat `"fbxb"`. FileExportFormatFbxb FileExportFormat = "fbxb" - // FileExportFormatJson represents the FileExportFormat `"json"`. - FileExportFormatJson FileExportFormat = "json" // FileExportFormatObj represents the FileExportFormat `"obj"`. FileExportFormatObj FileExportFormat = "obj" - // FileExportFormatObjNomtl represents the FileExportFormat `"obj_nomtl"`. - FileExportFormatObjNomtl FileExportFormat = "obj_nomtl" // FileExportFormatPly represents the FileExportFormat `"ply"`. FileExportFormatPly FileExportFormat = "ply" // FileExportFormatStep represents the FileExportFormat `"step"`. @@ -1963,8 +1955,6 @@ const ( FileImportFormatObjZip FileImportFormat = "obj_zip" // FileImportFormatObj represents the FileImportFormat `"obj"`. FileImportFormatObj FileImportFormat = "obj" - // FileImportFormatObjNomtl represents the FileImportFormat `"obj_nomtl"`. - FileImportFormatObjNomtl FileImportFormat = "obj_nomtl" // FileImportFormatPly represents the FileImportFormat `"ply"`. FileImportFormatPly FileImportFormat = "ply" // FileImportFormatStep represents the FileImportFormat `"step"`.