Skip to content

Commit 84ee52e

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

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

spec.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8150,14 +8150,17 @@
81508150
},
81518151
"source": {
81528152
"type": "string",
8153-
"description": "Unique name of the source"
8153+
"description": "Unique name of the source",
8154+
"pattern": "^[a-zA-Z0-9_-]+$"
81548155
},
81558156
"destinations": {
81568157
"type": "array",
81578158
"items": {
81588159
"type": "string",
8159-
"description": "Unique name of the destination"
8160-
}
8160+
"description": "Unique name of the destination",
8161+
"pattern": "^[a-zA-Z0-9_-]+$"
8162+
},
8163+
"minItems": 1
81618164
},
81628165
"schedule": {
81638166
"type": "string",
@@ -8187,14 +8190,17 @@
81878190
"properties": {
81888191
"source": {
81898192
"type": "string",
8190-
"description": "Unique name of the source"
8193+
"description": "Unique name of the source",
8194+
"pattern": "^[a-zA-Z0-9_-]+$"
81918195
},
81928196
"destinations": {
81938197
"type": "array",
81948198
"items": {
81958199
"type": "string",
8196-
"description": "Unique name of the destination"
8197-
}
8200+
"description": "Unique name of the destination",
8201+
"pattern": "^[a-zA-Z0-9_-]+$"
8202+
},
8203+
"minItems": 1
81988204
},
81998205
"schedule": {
82008206
"type": "string",

0 commit comments

Comments
 (0)