Skip to content

Commit 52bbb81

Browse files
authored
fix: Generate CloudQuery Go API Client from spec.json (#78)
This PR was created by a scheduled workflow to generate the CloudQuery Go API Client from `spec.json`
1 parent d97a5b7 commit 52bbb81

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

client.gen.go

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

models.gen.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.

spec.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2369,6 +2369,9 @@
23692369
},
23702370
"description": "Response"
23712371
},
2372+
"400": {
2373+
"$ref": "#/components/responses/BadRequest"
2374+
},
23722375
"401": {
23732376
"$ref": "#/components/responses/RequiresAuthentication"
23742377
},
@@ -4889,9 +4892,9 @@
48894892
"addon_name": {
48904893
"$ref": "#/components/schemas/AddonName"
48914894
},
4892-
"redirect_url": {
4895+
"success_url": {
48934896
"type": "string",
4894-
"description": "URL to redirect to after order completion",
4897+
"description": "URL to redirect to after successful order completion",
48954898
"example": "https://cloud.cloudquery.io/order-completion"
48964899
},
48974900
"cancel_url": {
@@ -4904,7 +4907,7 @@
49044907
"addon_team",
49054908
"addon_type",
49064909
"addon_name",
4907-
"redirect_url",
4910+
"success_url",
49084911
"cancel_url"
49094912
],
49104913
"title": "Create CloudQuery Addon Order",

0 commit comments

Comments
 (0)