Skip to content

Commit 4b92507

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

File tree

3 files changed

+53
-7
lines changed

3 files changed

+53
-7
lines changed

client.gen.go

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

models.gen.go

Lines changed: 5 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: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2771,6 +2771,14 @@
27712771
"description": "Download an asset for a given plugin version as the current team.",
27722772
"operationId": "DownloadPluginAssetByTeam",
27732773
"parameters": [
2774+
{
2775+
"in": "header",
2776+
"name": "Accept",
2777+
"required": false,
2778+
"schema": {
2779+
"type": "string"
2780+
}
2781+
},
27742782
{
27752783
"$ref": "#/components/parameters/team_name"
27762784
},
@@ -2791,6 +2799,16 @@
27912799
}
27922800
],
27932801
"responses": {
2802+
"200": {
2803+
"description": "Response",
2804+
"content": {
2805+
"application/json": {
2806+
"schema": {
2807+
"$ref": "#/components/schemas/PluginAsset"
2808+
}
2809+
}
2810+
}
2811+
},
27942812
"302": {
27952813
"description": "Response",
27962814
"headers": {

0 commit comments

Comments
 (0)