Skip to content

Commit c545ec6

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

File tree

2 files changed

+20
-16
lines changed

2 files changed

+20
-16
lines changed

models.gen.go

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

spec.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7683,6 +7683,11 @@
76837683
"title": "Docker Error",
76847684
"type": "object"
76857685
},
7686+
"SyncPluginPath": {
7687+
"type": "string",
7688+
"description": "Plugin path in CloudQuery registry",
7689+
"pattern": "^cloudquery/[^/]+"
7690+
},
76867691
"SyncEnv": {
76877692
"type": "object",
76887693
"description": "Environment variable. Environment variables are assumed to be secret.",
@@ -7719,8 +7724,7 @@
77197724
"pattern": "^[a-zA-Z0-9_-]+$"
77207725
},
77217726
"path": {
7722-
"type": "string",
7723-
"description": "Plugin path in CloudQuery registry",
7727+
"$ref": "#/components/schemas/SyncPluginPath",
77247728
"example": "cloudquery/aws"
77257729
},
77267730
"version": {
@@ -7797,8 +7801,7 @@
77977801
"type": "object",
77987802
"properties": {
77997803
"path": {
7800-
"type": "string",
7801-
"description": "Plugin path in CloudQuery registry",
7804+
"$ref": "#/components/schemas/SyncPluginPath",
78027805
"example": "cloudquery/aws"
78037806
},
78047807
"version": {
@@ -7851,9 +7854,8 @@
78517854
"pattern": "^[a-zA-Z0-9_-]+$"
78527855
},
78537856
"path": {
7854-
"type": "string",
7855-
"description": "Plugin path in CloudQuery registry",
7856-
"example": "cloudquery/aws"
7857+
"$ref": "#/components/schemas/SyncPluginPath",
7858+
"example": "cloudquery/postgresql"
78577859
},
78587860
"version": {
78597861
"type": "string",
@@ -7934,9 +7936,8 @@
79347936
"type": "object",
79357937
"properties": {
79367938
"path": {
7937-
"type": "string",
7938-
"description": "Plugin path in CloudQuery registry",
7939-
"example": "cloudquery/aws"
7939+
"$ref": "#/components/schemas/SyncPluginPath",
7940+
"example": "cloudquery/postgresql"
79407941
},
79417942
"version": {
79427943
"type": "string",

0 commit comments

Comments
 (0)