Skip to content

Commit 7dfeae5

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

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

models.gen.go

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

spec.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3232,7 +3232,7 @@
32323232
}
32333233
},
32343234
"post": {
3235-
"description": "Create new team API Key. This is useful in CI",
3235+
"description": "Create new team API Key.",
32363236
"operationId": "CreateTeamAPIKey",
32373237
"tags": [
32383238
"teams"
@@ -3249,20 +3249,17 @@
32493249
"type": "object",
32503250
"required": [
32513251
"expires_at",
3252-
"role",
32533252
"name"
32543253
],
32553254
"properties": {
32563255
"name": {
32573256
"type": "string",
3257+
"minLength": 1,
32583258
"maxLength": 255
32593259
},
32603260
"expires_at": {
32613261
"type": "string",
32623262
"format": "date-time"
3263-
},
3264-
"scope": {
3265-
"$ref": "#/components/schemas/APIKeyScope"
32663263
}
32673264
}
32683265
}

0 commit comments

Comments
 (0)