Skip to content

Commit d97ae7e

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

File tree

2 files changed

+11
-15
lines changed

2 files changed

+11
-15
lines changed

models.gen.go

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

spec.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,8 +1584,7 @@
15841584
"required": [
15851585
"message",
15861586
"doc",
1587-
"checksum",
1588-
"plugin_deps"
1587+
"checksum"
15891588
],
15901589
"properties": {
15911590
"message": {
@@ -1603,15 +1602,14 @@
16031602
"items": {
16041603
"type": "string"
16051604
},
1606-
"description": "plugin dependencies in the format of ['team_name/kind/plugin_name@version']",
1607-
"minItems": 1
1605+
"description": "plugin dependencies in the format of ['team_name/kind/plugin_name@version']"
16081606
},
16091607
"addon_deps": {
16101608
"type": "array",
16111609
"items": {
16121610
"type": "string"
16131611
},
1614-
"description": "addon dependencies in the format of ['team_name/addon_name@version']"
1612+
"description": "addon dependencies in the format of ['team_name/type/addon_name@version']"
16151613
},
16161614
"checksum": {
16171615
"type": "string",
@@ -4386,7 +4384,6 @@
43864384
"name",
43874385
"message",
43884386
"doc",
4389-
"plugin_deps",
43904387
"draft",
43914388
"retracted",
43924389
"checksum"
@@ -4423,8 +4420,7 @@
44234420
"plugin_deps": {
44244421
"type": "array",
44254422
"items": {
4426-
"type": "string",
4427-
"minItems": 1
4423+
"type": "string"
44284424
},
44294425
"description": "list of plugins the addon depends on in the format of team_name/kind/name@version"
44304426
},
@@ -4433,7 +4429,7 @@
44334429
"items": {
44344430
"type": "string"
44354431
},
4436-
"description": "list of other addons this addon depends on in the format of team_name/name@version"
4432+
"description": "list of other addons this addon depends on in the format of team_name/type/name@version"
44374433
},
44384434
"retracted": {
44394435
"type": "boolean",
@@ -4475,7 +4471,7 @@
44754471
"items": {
44764472
"type": "string"
44774473
},
4478-
"description": "list of other addons this addon depends on in the format of team_name/name@version"
4474+
"description": "list of other addons this addon depends on in the format of team_name/type/name@version"
44794475
},
44804476
"retracted": {
44814477
"type": "boolean",

0 commit comments

Comments
 (0)