Skip to content

Commit 0eb7391

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

File tree

2 files changed

+51
-2
lines changed

2 files changed

+51
-2
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: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7972,6 +7972,14 @@
79727972
}
79737973
}
79747974
},
7975+
"SyncLastUpdateSource": {
7976+
"description": "How was the source or destination been created or updated last",
7977+
"type": "string",
7978+
"enum": [
7979+
"yaml",
7980+
"ui"
7981+
]
7982+
},
79757983
"SyncSourceCreate": {
79767984
"title": "Sync Source definition for creating a new source",
79777985
"description": "Sync Source Definition",
@@ -8023,6 +8031,9 @@
80238031
"items": {
80248032
"$ref": "#/components/schemas/SyncEnvCreate"
80258033
}
8034+
},
8035+
"last_update_source": {
8036+
"$ref": "#/components/schemas/SyncLastUpdateSource"
80268037
}
80278038
}
80288039
},
@@ -8055,7 +8066,8 @@
80558066
"spec",
80568067
"env",
80578068
"created_at",
8058-
"updated_at"
8069+
"updated_at",
8070+
"last_update_source"
80598071
],
80608072
"properties": {
80618073
"created_at": {
@@ -8166,6 +8178,9 @@
81668178
"items": {
81678179
"$ref": "#/components/schemas/SyncEnvCreate"
81688180
}
8181+
},
8182+
"last_update_source": {
8183+
"$ref": "#/components/schemas/SyncLastUpdateSource"
81698184
}
81708185
}
81718186
},
@@ -8230,6 +8245,9 @@
82308245
"items": {
82318246
"$ref": "#/components/schemas/SyncEnvCreate"
82328247
}
8248+
},
8249+
"last_update_source": {
8250+
"$ref": "#/components/schemas/SyncLastUpdateSource"
82338251
}
82348252
}
82358253
},
@@ -8249,7 +8267,8 @@
82498267
"spec",
82508268
"env",
82518269
"created_at",
8252-
"updated_at"
8270+
"updated_at",
8271+
"last_update_source"
82538272
],
82548273
"properties": {
82558274
"created_at": {
@@ -8306,6 +8325,9 @@
83068325
"items": {
83078326
"$ref": "#/components/schemas/SyncEnvCreate"
83088327
}
8328+
},
8329+
"last_update_source": {
8330+
"$ref": "#/components/schemas/SyncLastUpdateSource"
83098331
}
83108332
}
83118333
},

0 commit comments

Comments
 (0)