Skip to content

Commit d3871d3

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

File tree

2 files changed

+67
-0
lines changed

2 files changed

+67
-0
lines changed

models.gen.go

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

spec.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9383,6 +9383,22 @@
93839383
},
93849384
"title" : "Sync Destination definition for updating a destination"
93859385
},
9386+
"SyncIncremental" : {
9387+
"description" : "Managed Sync Incremental Options definition",
9388+
"properties" : {
9389+
"table" : {
9390+
"description" : "Name of the table in which to store incremental sync data",
9391+
"pattern" : "^([a-zA-Z_][a-zA-Z0-9_]*)?$",
9392+
"type" : "string"
9393+
},
9394+
"destination" : {
9395+
"description" : "Name of the destination in which to store incremental sync data",
9396+
"pattern" : "^([a-zA-Z][a-zA-Z0-9_-]*)?$",
9397+
"type" : "string"
9398+
}
9399+
},
9400+
"required" : [ "destination", "table" ]
9401+
},
93869402
"Sync" : {
93879403
"description" : "Managed Sync definition",
93889404
"properties" : {
@@ -9422,6 +9438,9 @@
94229438
"example" : "2Gi",
94239439
"type" : "string"
94249440
},
9441+
"incremental" : {
9442+
"$ref" : "#/components/schemas/SyncIncremental"
9443+
},
94259444
"created_at" : {
94269445
"description" : "Time when the sync was created",
94279446
"format" : "date-time",
@@ -9479,10 +9498,28 @@
94799498
"default" : "2Gi",
94809499
"description" : "Memory quota for the sync",
94819500
"type" : "string"
9501+
},
9502+
"incremental" : {
9503+
"$ref" : "#/components/schemas/SyncIncremental"
94829504
}
94839505
},
94849506
"required" : [ "destinations", "name", "source" ]
94859507
},
9508+
"SyncIncrementalUpdate" : {
9509+
"description" : "Managed Sync Incremental Options Update definition",
9510+
"properties" : {
9511+
"table" : {
9512+
"description" : "Name of the table in which to store incremental sync data",
9513+
"pattern" : "^([a-zA-Z_][a-zA-Z0-9_]*)?$",
9514+
"type" : "string"
9515+
},
9516+
"destination" : {
9517+
"description" : "Name of the destination in which to store incremental sync data",
9518+
"pattern" : "^([a-zA-Z][a-zA-Z0-9_-]*)?$",
9519+
"type" : "string"
9520+
}
9521+
}
9522+
},
94869523
"SyncUpdate" : {
94879524
"description" : "Managed Sync definition",
94889525
"properties" : {
@@ -9526,6 +9563,9 @@
95269563
"default" : "2Gi",
95279564
"description" : "Memory quota for the sync",
95289565
"type" : "string"
9566+
},
9567+
"incremental" : {
9568+
"$ref" : "#/components/schemas/SyncIncrementalUpdate"
95299569
}
95309570
}
95319571
},

0 commit comments

Comments
 (0)