Skip to content

Commit a2b1025

Browse files
Update api spec (#221)
* 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 30e577b commit a2b1025

File tree

5 files changed

+1000
-913
lines changed

5 files changed

+1000
-913
lines changed

examples_test.go

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

kittycad.go.patch.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -895,14 +895,6 @@
895895
"op": "add",
896896
"path": "/paths/~1user~1oauth2~1providers/get/x-go"
897897
},
898-
{
899-
"value": {
900-
"example": "// GetOnboardingSelf: Get your user's onboarding status.\n// \n// Checks key part of their api usage to determine their onboarding progress\n// \n// GetOnboardingSelf: Get your user's onboarding status.\n// Checks key part of their api usage to determine their onboarding progress\nfunc ExampleUserService_GetOnboardingSelf() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.User.GetOnboardingSelf()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n",
901-
"libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#UserService.GetOnboardingSelf"
902-
},
903-
"op": "add",
904-
"path": "/paths/~1user~1onboarding/get/x-go"
905-
},
906898
{
907899
"value": {
908900
"example": "// GetUser: Get a user's org.\n// \n// This endpoint requires authentication by any Zoo user. It gets the authenticated user's org.\n// \n// If the user is not a member of an org, this endpoint will return a 404.\n// \n// GetUser: Get a user's org.\n// This endpoint requires authentication by any Zoo user. It gets the authenticated user's org.\n//\n// If the user is not a member of an org, this endpoint will return a 404.\nfunc ExampleOrgService_GetUser() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tresult, err := client.Org.GetUser()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tfmt.Printf(\"%#v\", result)\n\n}\n",

paths.go

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

0 commit comments

Comments
 (0)