Skip to content

Commit c49fede

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

File tree

2 files changed

+35
-6
lines changed

2 files changed

+35
-6
lines changed

models.gen.go

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

spec.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9662,17 +9662,27 @@
96629662
},
96639663
"required" : [ "cpu", "created_at", "destinations", "disabled", "display_name", "memory", "name", "schedule", "source", "updated_at" ]
96649664
},
9665+
"SyncDestinationWriteModeUpdate" : {
9666+
"description" : "Write mode for the destination, for updating",
9667+
"enum" : [ "append", "overwrite", "overwrite-delete-stale" ],
9668+
"type" : "string"
9669+
},
9670+
"SyncDestinationMigrateModeUpdate" : {
9671+
"description" : "Migrate mode for the destination, for updating",
9672+
"enum" : [ "safe", "forced" ],
9673+
"type" : "string"
9674+
},
96659675
"SyncDestinationUpdate" : {
96669676
"description" : "Sync Destination Update Definition",
96679677
"properties" : {
96689678
"display_name" : {
96699679
"$ref" : "#/components/schemas/DisplayName"
96709680
},
96719681
"write_mode" : {
9672-
"$ref" : "#/components/schemas/SyncDestinationWriteMode"
9682+
"$ref" : "#/components/schemas/SyncDestinationWriteModeUpdate"
96739683
},
96749684
"migrate_mode" : {
9675-
"$ref" : "#/components/schemas/SyncDestinationMigrateMode"
9685+
"$ref" : "#/components/schemas/SyncDestinationMigrateModeUpdate"
96769686
},
96779687
"last_update_source" : {
96789688
"$ref" : "#/components/schemas/SyncLastUpdateSource"

0 commit comments

Comments
 (0)