Skip to content

Commit b680d68

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

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

models.gen.go

Lines changed: 12 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: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5447,14 +5447,26 @@
54475447
"schema": {
54485448
"type": "object",
54495449
"required": [
5450-
"rows"
5450+
"rows",
5451+
"warnings",
5452+
"errors"
54515453
],
54525454
"properties": {
54535455
"rows": {
54545456
"type": "integer",
54555457
"format": "int64",
54565458
"description": "Number of rows synced so far"
54575459
},
5460+
"warnings": {
5461+
"type": "integer",
5462+
"format": "int64",
5463+
"description": "Number of warnings encountered so far"
5464+
},
5465+
"errors": {
5466+
"type": "integer",
5467+
"format": "int64",
5468+
"description": "Number of errors encountered so far"
5469+
},
54585470
"status": {
54595471
"$ref": "#/components/schemas/SyncRunStatus"
54605472
}
@@ -8231,7 +8243,9 @@
82318243
"id",
82328244
"status",
82338245
"started_at",
8234-
"total_rows"
8246+
"total_rows",
8247+
"warnings",
8248+
"errors"
82358249
],
82368250
"properties": {
82378251
"sync_name": {
@@ -8265,6 +8279,16 @@
82658279
"type": "integer",
82668280
"format": "int64",
82678281
"description": "Total number of rows in the sync"
8282+
},
8283+
"warnings": {
8284+
"type": "integer",
8285+
"format": "int64",
8286+
"description": "Number of warnings encountered during the sync"
8287+
},
8288+
"errors": {
8289+
"type": "integer",
8290+
"format": "int64",
8291+
"description": "Number of errors encountered during the sync"
82688292
}
82698293
}
82708294
},

0 commit comments

Comments
 (0)