Skip to content

Commit d307710

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

File tree

2 files changed

+22
-42
lines changed

2 files changed

+22
-42
lines changed

models.gen.go

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

spec.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10047,17 +10047,15 @@
1004710047
"additionalProperties" : { },
1004810048
"description" : "OAuth connector authentication request, filled in after the user has authenticated through OAuth",
1004910049
"properties" : {
10050-
"auth_code" : {
10051-
"description" : "Auth code received from the OAuth provider"
10050+
"return_url" : {
10051+
"description" : "URL the user was redirected to (including new parameter values) after the OAuth flow is complete",
10052+
"x-go-name" : "ReturnURL"
1005210053
},
1005310054
"base_url" : {
1005410055
"description" : "Base of the URL the callback url was constructed from",
1005510056
"example" : "https://cloud.cloudquery.io/oauth",
1005610057
"x-go-name" : "BaseURL"
1005710058
},
10058-
"state" : {
10059-
"description" : "State value received from the OAuth provider"
10060-
},
1006110059
"spec" : {
1006210060
"additionalProperties" : false,
1006310061
"format" : "Plugin parameters, specific to each plugin",
@@ -10070,7 +10068,7 @@
1007010068
}
1007110069
}
1007210070
},
10073-
"required" : [ "auth_code", "base_url" ]
10071+
"required" : [ "base_url", "return_url" ]
1007410072
},
1007510073
"ListPluginNotificationRequests_200_response" : {
1007610074
"properties" : {

0 commit comments

Comments
 (0)