Skip to content

Commit

Permalink
fix: Generate CloudQuery Go API Client from spec.json (#78)
Browse files Browse the repository at this point in the history
This PR was created by a scheduled workflow to generate the CloudQuery Go API Client from `spec.json`
  • Loading branch information
cq-bot authored Nov 22, 2023
1 parent d97a5b7 commit 52bbb81
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
8 changes: 8 additions & 0 deletions client.gen.go

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

4 changes: 2 additions & 2 deletions models.gen.go

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

9 changes: 6 additions & 3 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2369,6 +2369,9 @@
},
"description": "Response"
},
"400": {
"$ref": "#/components/responses/BadRequest"
},
"401": {
"$ref": "#/components/responses/RequiresAuthentication"
},
Expand Down Expand Up @@ -4889,9 +4892,9 @@
"addon_name": {
"$ref": "#/components/schemas/AddonName"
},
"redirect_url": {
"success_url": {
"type": "string",
"description": "URL to redirect to after order completion",
"description": "URL to redirect to after successful order completion",
"example": "https://cloud.cloudquery.io/order-completion"
},
"cancel_url": {
Expand All @@ -4904,7 +4907,7 @@
"addon_team",
"addon_type",
"addon_name",
"redirect_url",
"success_url",
"cancel_url"
],
"title": "Create CloudQuery Addon Order",
Expand Down

0 comments on commit 52bbb81

Please sign in to comment.