Skip to content

Commit a2c07e1

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

File tree

2 files changed

+1
-73
lines changed

2 files changed

+1
-73
lines changed

models.gen.go

Lines changed: 1 addition & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec.json

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -9319,14 +9319,6 @@
93199319
"SyncSourceUpdate" : {
93209320
"description" : "Sync Source Update Definition",
93219321
"properties" : {
9322-
"path" : {
9323-
"$ref" : "#/components/schemas/SyncPluginPath"
9324-
},
9325-
"version" : {
9326-
"description" : "Version of the plugin",
9327-
"example" : "v1.2.3",
9328-
"type" : "string"
9329-
},
93309322
"tables" : {
93319323
"description" : "Tables to sync. Wildcards are supported. Note that child tables are excluded by default, and need to be explicitly specified.",
93329324
"items" : {
@@ -9341,23 +9333,8 @@
93419333
},
93429334
"type" : "array"
93439335
},
9344-
"spec" : {
9345-
"additionalProperties" : false,
9346-
"format" : "Plugin parameters, specific to each plugin",
9347-
"type" : "object"
9348-
},
9349-
"env" : {
9350-
"description" : "Environment variables for the plugin. All environment variables will be stored as secrets.",
9351-
"items" : {
9352-
"$ref" : "#/components/schemas/SyncEnvCreate"
9353-
},
9354-
"type" : "array"
9355-
},
93569336
"last_update_source" : {
93579337
"$ref" : "#/components/schemas/SyncLastUpdateSource"
9358-
},
9359-
"connector_id" : {
9360-
"$ref" : "#/components/schemas/ConnectorID"
93619338
}
93629339
},
93639340
"title" : "Sync Source definition for updating a source"
@@ -9394,37 +9371,14 @@
93949371
"SyncDestinationUpdate" : {
93959372
"description" : "Sync Destination Update Definition",
93969373
"properties" : {
9397-
"path" : {
9398-
"$ref" : "#/components/schemas/SyncPluginPath"
9399-
},
9400-
"version" : {
9401-
"description" : "Version of the plugin",
9402-
"example" : "v1.2.3",
9403-
"type" : "string"
9404-
},
94059374
"write_mode" : {
94069375
"$ref" : "#/components/schemas/SyncDestinationWriteMode"
94079376
},
94089377
"migrate_mode" : {
94099378
"$ref" : "#/components/schemas/SyncDestinationMigrateMode"
94109379
},
9411-
"spec" : {
9412-
"additionalProperties" : false,
9413-
"format" : "Plugin parameters, specific to each plugin",
9414-
"type" : "object"
9415-
},
9416-
"env" : {
9417-
"description" : "Environment variables for the plugin. All environment variables will be stored as secrets.",
9418-
"items" : {
9419-
"$ref" : "#/components/schemas/SyncEnvCreate"
9420-
},
9421-
"type" : "array"
9422-
},
94239380
"last_update_source" : {
94249381
"$ref" : "#/components/schemas/SyncLastUpdateSource"
9425-
},
9426-
"connector_id" : {
9427-
"$ref" : "#/components/schemas/ConnectorID"
94289382
}
94299383
},
94309384
"title" : "Sync Destination definition for updating a destination"

0 commit comments

Comments
 (0)