Skip to content

Commit 1c4be5b

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

File tree

3 files changed

+208
-0
lines changed

3 files changed

+208
-0
lines changed

client.gen.go

Lines changed: 156 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: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6167,6 +6167,43 @@
61676167
}
61686168
},
61696169
"/teams/{team_name}/connectors/{connector_id}/authenticate/aws" : {
6170+
"get" : {
6171+
"description" : "Get authentication status for the given AWS connector",
6172+
"operationId" : "GetConnectorAuthStatusAWS",
6173+
"parameters" : [ {
6174+
"$ref" : "#/components/parameters/team_name"
6175+
}, {
6176+
"$ref" : "#/components/parameters/connector_id"
6177+
} ],
6178+
"responses" : {
6179+
"200" : {
6180+
"content" : {
6181+
"application/json" : {
6182+
"schema" : {
6183+
"$ref" : "#/components/schemas/GetConnectorAuthStatusAWS_200_response"
6184+
}
6185+
}
6186+
},
6187+
"description" : "Response"
6188+
},
6189+
"400" : {
6190+
"$ref" : "#/components/responses/BadRequest"
6191+
},
6192+
"401" : {
6193+
"$ref" : "#/components/responses/RequiresAuthentication"
6194+
},
6195+
"404" : {
6196+
"$ref" : "#/components/responses/NotFound"
6197+
},
6198+
"422" : {
6199+
"$ref" : "#/components/responses/UnprocessableEntity"
6200+
},
6201+
"500" : {
6202+
"$ref" : "#/components/responses/InternalError"
6203+
}
6204+
},
6205+
"tags" : [ "syncs" ]
6206+
},
61706207
"patch" : {
61716208
"description" : "Complete authentication for the given AWS connector",
61726209
"operationId" : "AuthenticateConnectorFinishAWS",
@@ -10889,6 +10926,15 @@
1088910926
},
1089010927
"required" : [ "items", "metadata" ]
1089110928
},
10929+
"GetConnectorAuthStatusAWS_200_response" : {
10930+
"properties" : {
10931+
"role_arn" : {
10932+
"description" : "ARN of role created by the user",
10933+
"type" : "string",
10934+
"x-go-name" : "RoleARN"
10935+
}
10936+
}
10937+
},
1089210938
"UsageIncrease_tables_inner" : {
1089310939
"properties" : {
1089410940
"name" : {

0 commit comments

Comments
 (0)