Skip to content

Commit 6596522

Browse files
Update api spec (#210)
* 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 f9b02bb commit 6596522

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

examples_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

kittycad.go.patch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@
865865
},
866866
{
867867
"value": {
868-
"example": "// PatchCrm: Update properties in the CRM\n// \n// \n// Parameters\n// \n// \t- `body`: The data for subscribing a user to the newsletter.\n// \n// PatchCrm: Update properties in the CRM\n// Parameters\n//\n// - `body`: The data for subscribing a user to the newsletter.\nfunc ExampleUserService_PatchCrm() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tif err := client.User.PatchCrm(kittycad.CrmData{CadIndustry: \"some-string\", CadUserCount: \"some-string\", CadUserType: \"some-string\"}); err != nil {\n\t\tpanic(err)\n\t}\n\n}\n",
868+
"example": "// PatchCrm: Update properties in the CRM\n// \n// \n// Parameters\n// \n// \t- `body`: The data for subscribing a user to the newsletter.\n// \n// PatchCrm: Update properties in the CRM\n// Parameters\n//\n// - `body`: The data for subscribing a user to the newsletter.\nfunc ExampleUserService_PatchCrm() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tif err := client.User.PatchCrm(kittycad.CrmData{CadIndustry: \"some-string\", CadUserType: \"some-string\", NumberOfCadUsers: \"some-string\"}); err != nil {\n\t\tpanic(err)\n\t}\n\n}\n",
869869
"libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#UserService.PatchCrm"
870870
},
871871
"op": "add",

spec.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20374,14 +20374,14 @@
2037420374
"description": "The industry of the user.",
2037520375
"type": "string"
2037620376
},
20377-
"cad_user_count": {
20377+
"cad_user_type": {
2037820378
"nullable": true,
20379-
"description": "The user count of the user.",
20379+
"description": "The user type.",
2038020380
"type": "string"
2038120381
},
20382-
"cad_user_type": {
20382+
"number_of_cad_users": {
2038320383
"nullable": true,
20384-
"description": "The user type.",
20384+
"description": "The user count of the user.",
2038520385
"type": "string"
2038620386
}
2038720387
}

types.go

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

0 commit comments

Comments
 (0)