Skip to content

Commit

Permalink
Update api spec (#76)
Browse files Browse the repository at this point in the history
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
jessfraz and github-actions[bot] authored May 4, 2023
1 parent a3c6ef8 commit b9fea6a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 72 deletions.
13 changes: 0 additions & 13 deletions examples_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions kittycad.go.patch.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,6 @@
"libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#MetaService.Getdata"
}
},
{
"op": "add",
"path": "/paths/~1_meta~1metrics/get/x-go",
"value": {
"example": "// GetMetrics: Get prometheus metrics\n// \n// You must be a KittyCAD employee to perform this request.\n// \n// Create a client with your token.\nfunc ExampleMetaService_GetMetrics() {\n\tclient, err := kittycad.NewClientFromEnv(\"your apps user agent\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\tif err := client.Meta.GetMetrics(); err != nil {\n\t\tpanic(err)\n\t}\n\n}\n",
"libDocsLink": "https://pkg.go.dev/github.com/kittycad/kittycad.go/#MetaService.GetMetrics"
}
},
{
"op": "add",
"path": "/paths/~1ai~1image-to-3d~1{input_format}~1{output_format}/post/x-go",
Expand Down
30 changes: 0 additions & 30 deletions paths.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 0 additions & 21 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -12020,27 +12020,6 @@
]
}
},
"/_meta/metrics": {
"get": {
"description": "You must be a KittyCAD employee to perform this request.",
"operationId": "get_metrics",
"responses": {
"default": {
"content": {
"*/*": {
"schema": {}
}
},
"description": ""
}
},
"summary": "Get prometheus metrics",
"tags": [
"meta",
"hidden"
]
}
},
"/ai/image-to-3d/{input_format}/{output_format}": {
"post": {
"description": "This is an alpha endpoint. It will change in the future. The current output is honestly pretty bad. So if you find this endpoint, you get what you pay for, which currently is nothing. But in the future will be made a lot better.",
Expand Down

0 comments on commit b9fea6a

Please sign in to comment.