Skip to content

Commit

Permalink
fix: Generate CloudQuery Go API Client from spec.json
Browse files Browse the repository at this point in the history
  • Loading branch information
cq-bot authored Nov 27, 2024
1 parent 9f8c47b commit cfb2b29
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 6 deletions.
27 changes: 23 additions & 4 deletions models.gen.go

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

14 changes: 12 additions & 2 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -9662,17 +9662,27 @@
},
"required" : [ "cpu", "created_at", "destinations", "disabled", "display_name", "memory", "name", "schedule", "source", "updated_at" ]
},
"SyncDestinationWriteModeUpdate" : {
"description" : "Write mode for the destination, for updating",
"enum" : [ "append", "overwrite", "overwrite-delete-stale" ],
"type" : "string"
},
"SyncDestinationMigrateModeUpdate" : {
"description" : "Migrate mode for the destination, for updating",
"enum" : [ "safe", "forced" ],
"type" : "string"
},
"SyncDestinationUpdate" : {
"description" : "Sync Destination Update Definition",
"properties" : {
"display_name" : {
"$ref" : "#/components/schemas/DisplayName"
},
"write_mode" : {
"$ref" : "#/components/schemas/SyncDestinationWriteMode"
"$ref" : "#/components/schemas/SyncDestinationWriteModeUpdate"
},
"migrate_mode" : {
"$ref" : "#/components/schemas/SyncDestinationMigrateMode"
"$ref" : "#/components/schemas/SyncDestinationMigrateModeUpdate"
},
"last_update_source" : {
"$ref" : "#/components/schemas/SyncLastUpdateSource"
Expand Down

0 comments on commit cfb2b29

Please sign in to comment.