Skip to content

Commit

Permalink
fix: Generate CloudQuery Go API Client from spec.json (#212)
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 Aug 6, 2024
1 parent 900d494 commit 54c40ed
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 269 deletions.
193 changes: 0 additions & 193 deletions client.gen.go

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

9 changes: 0 additions & 9 deletions models.gen.go

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

68 changes: 1 addition & 67 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -5144,55 +5144,6 @@
"x-internal" : true
}
},
"/teams/{team_name}/syncs/test-connections/{sync_test_connection_id}" : {
"patch" : {
"deprecated" : true,
"description" : "DEPRECATED. Update a Sync Test Connection. Use UpdateSyncTestConnectionForSyncSource or UpdateSyncTestConnectionForSyncDestination instead.",
"operationId" : "UpdateSyncTestConnection",
"parameters" : [ {
"$ref" : "#/components/parameters/team_name"
}, {
"$ref" : "#/components/parameters/sync_test_connection_id"
} ],
"requestBody" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/UpdateSyncTestConnectionForSyncSource_request"
}
}
}
},
"responses" : {
"200" : {
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/SyncTestConnection"
}
}
},
"description" : "Updated"
},
"400" : {
"$ref" : "#/components/responses/BadRequest"
},
"403" : {
"$ref" : "#/components/responses/Forbidden"
},
"404" : {
"$ref" : "#/components/responses/NotFound"
},
"422" : {
"$ref" : "#/components/responses/UnprocessableEntity"
},
"500" : {
"$ref" : "#/components/responses/InternalError"
}
},
"tags" : [ "syncs" ]
}
},
"/teams/{team_name}/syncs/test-connections/{sync_test_connection_id}/connector/{connector_id}/identity" : {
"get" : {
"description" : "Get connector identity for a test connection.",
Expand Down Expand Up @@ -9165,17 +9116,9 @@
"description" : "Role ARN to assume",
"type" : "string",
"x-go-name" : "RoleARN"
},
"account_ids" : {
"description" : "List of AWS account IDs",
"items" : {
"type" : "string"
},
"type" : "array",
"x-go-name" : "AccountIDs"
}
},
"required" : [ "account_ids", "role_arn" ]
"required" : [ "role_arn" ]
},
"ConnectorCredentialsResponseAWS" : {
"additionalProperties" : false,
Expand Down Expand Up @@ -9337,15 +9280,6 @@
"description" : "Name of the plugin",
"example" : "aws",
"type" : "string"
},
"account_ids" : {
"description" : "List of AWS account IDs to authenticate",
"example" : [ "123456789012" ],
"items" : {
"type" : "string"
},
"type" : "array",
"x-go-name" : "AccountIDs"
}
},
"required" : [ "plugin_kind", "plugin_name", "plugin_team" ]
Expand Down

0 comments on commit 54c40ed

Please sign in to comment.