Skip to content

Commit 71cb41f

Browse files
authoredMar 6, 2025
fix: Generate CloudQuery Go API Client from spec.json (#278)
This PR was created by a scheduled workflow to generate the CloudQuery Go API Client from `spec.json`
1 parent 8366121 commit 71cb41f

File tree

3 files changed

+87
-6
lines changed

3 files changed

+87
-6
lines changed
 

‎client.gen.go

+32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎models.gen.go

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎spec.json

+41-6
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,10 @@
290290
"$ref" : "#/components/parameters/page"
291291
}, {
292292
"$ref" : "#/components/parameters/per_page"
293+
}, {
294+
"$ref" : "#/components/parameters/plugin_include_release_stages"
295+
}, {
296+
"$ref" : "#/components/parameters/plugin_exclude_release_stages"
293297
} ],
294298
"responses" : {
295299
"200" : {
@@ -6606,6 +6610,37 @@
66066610
},
66076611
"style" : "form"
66086612
},
6613+
"plugin_include_release_stages" : {
6614+
"allowEmptyValue" : true,
6615+
"description" : "Include these release stages in the response",
6616+
"explode" : true,
6617+
"in" : "query",
6618+
"name" : "include_release_stages",
6619+
"required" : false,
6620+
"schema" : {
6621+
"items" : {
6622+
"$ref" : "#/components/schemas/PluginReleaseStage"
6623+
},
6624+
"type" : "array"
6625+
},
6626+
"style" : "form"
6627+
},
6628+
"plugin_exclude_release_stages" : {
6629+
"allowEmptyValue" : true,
6630+
"description" : "Exclude these release stages from the response",
6631+
"explode" : true,
6632+
"in" : "query",
6633+
"name" : "exclude_release_stages",
6634+
"required" : false,
6635+
"schema" : {
6636+
"default" : [ "deprecated" ],
6637+
"items" : {
6638+
"$ref" : "#/components/schemas/PluginReleaseStage"
6639+
},
6640+
"type" : "array"
6641+
},
6642+
"style" : "form"
6643+
},
66096644
"team_name" : {
66106645
"explode" : false,
66116646
"in" : "path",
@@ -7153,6 +7188,11 @@
71537188
}
71547189
} ]
71557190
},
7191+
"PluginReleaseStage" : {
7192+
"description" : "Official plugins can go through three release stages: Coming Soon, Preview, and GA.\nThe Coming Soon stage is for plugins that are not yet ready for Preview, but users can subscribe to be notified when they are ready.\nBoth Preview and GA plugins follow semantic versioning. The main differences between the two stages are:\nPreview plugins are still experimental and may have frequent breaking changes. Preview plugins might get deprecated due to lack of usage. Long Term Support with community Discord and bug fixes is only guaranteed for GA plugins. Premium plugins are often discounted or free during the Preview stage.",
7193+
"enum" : [ "coming-soon", "preview", "ga", "deprecated" ],
7194+
"type" : "string"
7195+
},
71567196
"PluginCategory" : {
71577197
"description" : "Supported categories for plugins",
71587198
"enum" : [ "cloud-infrastructure", "databases", "sales-marketing", "engineering-analytics", "marketing-analytics", "shipment-tracking", "product-analytics", "cloud-finops", "project-management", "fleet-management", "security", "data-warehouses", "human-resources", "finance", "customer-support", "other" ],
@@ -7163,11 +7203,6 @@
71637203
"enum" : [ "api", "database", "free" ],
71647204
"type" : "string"
71657205
},
7166-
"PluginReleaseStage" : {
7167-
"description" : "Official plugins can go through three release stages: Coming Soon, Preview, and GA.\nThe Coming Soon stage is for plugins that are not yet ready for Preview, but users can subscribe to be notified when they are ready.\nBoth Preview and GA plugins follow semantic versioning. The main differences between the two stages are:\nPreview plugins are still experimental and may have frequent breaking changes. Preview plugins might get deprecated due to lack of usage. Long Term Support with community Discord and bug fixes is only guaranteed for GA plugins. Premium plugins are often discounted or free during the Preview stage.",
7168-
"enum" : [ "coming-soon", "preview", "ga" ],
7169-
"type" : "string"
7170-
},
71717206
"PluginTier" : {
71727207
"deprecated" : true,
71737208
"description" : "This field is deprecated, refer to `price_category` instead.\nThis field is only kept for backward compatibility and may be removed in a future release.\nSupported tiers for plugins.\n - free: Free tier, with no paid tables.\n - paid: Paid tier. These plugins may have paid tables, but can also have free tables. They require login to access.\n - open-core: This option is deprecated, values will either be free or paid.\n",
@@ -7365,7 +7400,7 @@
73657400
},
73667401
"PluginReleaseStageUpdate" : {
73677402
"description" : "Official plugins can go through three release stages: Coming Soon, Preview, and GA.\nThe Coming Soon stage is for plugins that are not yet ready for Preview, but users can subscribe to be notified when they are ready.\nBoth Preview and GA plugins follow semantic versioning. The main differences between the two stages are:\nPreview plugins are still experimental and may have frequent breaking changes. Preview plugins might get deprecated due to lack of usage. Long Term Support with community Discord and bug fixes is only guaranteed for GA plugins. Premium plugins are often discounted or free during the Preview stage.",
7368-
"enum" : [ "coming-soon", "preview", "ga" ],
7403+
"enum" : [ "coming-soon", "preview", "ga", "deprecated" ],
73697404
"type" : "string"
73707405
},
73717406
"PluginUpdate" : {

0 commit comments

Comments
 (0)