Skip to content

Commit 54c40ed

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

File tree

3 files changed

+1
-269
lines changed

3 files changed

+1
-269
lines changed

client.gen.go

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

models.gen.go

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

spec.json

Lines changed: 1 addition & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -5144,55 +5144,6 @@
51445144
"x-internal" : true
51455145
}
51465146
},
5147-
"/teams/{team_name}/syncs/test-connections/{sync_test_connection_id}" : {
5148-
"patch" : {
5149-
"deprecated" : true,
5150-
"description" : "DEPRECATED. Update a Sync Test Connection. Use UpdateSyncTestConnectionForSyncSource or UpdateSyncTestConnectionForSyncDestination instead.",
5151-
"operationId" : "UpdateSyncTestConnection",
5152-
"parameters" : [ {
5153-
"$ref" : "#/components/parameters/team_name"
5154-
}, {
5155-
"$ref" : "#/components/parameters/sync_test_connection_id"
5156-
} ],
5157-
"requestBody" : {
5158-
"content" : {
5159-
"application/json" : {
5160-
"schema" : {
5161-
"$ref" : "#/components/schemas/UpdateSyncTestConnectionForSyncSource_request"
5162-
}
5163-
}
5164-
}
5165-
},
5166-
"responses" : {
5167-
"200" : {
5168-
"content" : {
5169-
"application/json" : {
5170-
"schema" : {
5171-
"$ref" : "#/components/schemas/SyncTestConnection"
5172-
}
5173-
}
5174-
},
5175-
"description" : "Updated"
5176-
},
5177-
"400" : {
5178-
"$ref" : "#/components/responses/BadRequest"
5179-
},
5180-
"403" : {
5181-
"$ref" : "#/components/responses/Forbidden"
5182-
},
5183-
"404" : {
5184-
"$ref" : "#/components/responses/NotFound"
5185-
},
5186-
"422" : {
5187-
"$ref" : "#/components/responses/UnprocessableEntity"
5188-
},
5189-
"500" : {
5190-
"$ref" : "#/components/responses/InternalError"
5191-
}
5192-
},
5193-
"tags" : [ "syncs" ]
5194-
}
5195-
},
51965147
"/teams/{team_name}/syncs/test-connections/{sync_test_connection_id}/connector/{connector_id}/identity" : {
51975148
"get" : {
51985149
"description" : "Get connector identity for a test connection.",
@@ -9165,17 +9116,9 @@
91659116
"description" : "Role ARN to assume",
91669117
"type" : "string",
91679118
"x-go-name" : "RoleARN"
9168-
},
9169-
"account_ids" : {
9170-
"description" : "List of AWS account IDs",
9171-
"items" : {
9172-
"type" : "string"
9173-
},
9174-
"type" : "array",
9175-
"x-go-name" : "AccountIDs"
91769119
}
91779120
},
9178-
"required" : [ "account_ids", "role_arn" ]
9121+
"required" : [ "role_arn" ]
91799122
},
91809123
"ConnectorCredentialsResponseAWS" : {
91819124
"additionalProperties" : false,
@@ -9337,15 +9280,6 @@
93379280
"description" : "Name of the plugin",
93389281
"example" : "aws",
93399282
"type" : "string"
9340-
},
9341-
"account_ids" : {
9342-
"description" : "List of AWS account IDs to authenticate",
9343-
"example" : [ "123456789012" ],
9344-
"items" : {
9345-
"type" : "string"
9346-
},
9347-
"type" : "array",
9348-
"x-go-name" : "AccountIDs"
93499283
}
93509284
},
93519285
"required" : [ "plugin_kind", "plugin_name", "plugin_team" ]

0 commit comments

Comments
 (0)