Skip to content

Commit aeebd1d

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

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

client.gen.go

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

models.gen.go

Lines changed: 4 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: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,8 @@
608608
"$ref" : "#/components/parameters/include_drafts"
609609
}, {
610610
"$ref" : "#/components/parameters/include_prereleases"
611+
}, {
612+
"$ref" : "#/components/parameters/version_filter"
611613
} ],
612614
"responses" : {
613615
"200" : {
@@ -620,6 +622,9 @@
620622
},
621623
"description" : "Response"
622624
},
625+
"400" : {
626+
"$ref" : "#/components/responses/BadRequest"
627+
},
623628
"401" : {
624629
"$ref" : "#/components/responses/RequiresAuthentication"
625630
},
@@ -6619,6 +6624,16 @@
66196624
},
66206625
"style" : "form"
66216626
},
6627+
"version_filter" : {
6628+
"explode" : true,
6629+
"in" : "query",
6630+
"name" : "version_filter",
6631+
"required" : false,
6632+
"schema" : {
6633+
"$ref" : "#/components/schemas/VersionFilter"
6634+
},
6635+
"style" : "form"
6636+
},
66226637
"version_name" : {
66236638
"explode" : false,
66246639
"in" : "path",
@@ -7451,6 +7466,11 @@
74517466
"required" : [ "effective_from", "free_rows_per_month", "usd_per_row" ],
74527467
"title" : "CloudQuery Plugin Price Create"
74537468
},
7469+
"VersionFilter" : {
7470+
"description" : "A version filter in semantic version format with prefix ranges.",
7471+
"pattern" : "^[^~]?v[0-9]+\\.[0-9]+\\.[0-9]+(-[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?(\\+[0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*)?$",
7472+
"type" : "string"
7473+
},
74547474
"PluginProtocols" : {
74557475
"description" : "The CloudQuery protocols supported by this plugin version (only protocol 3 is supported by new plugins).",
74567476
"items" : {

0 commit comments

Comments
 (0)