Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 21673f6

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

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

client.gen.go

Lines changed: 16 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: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4425,6 +4425,9 @@
44254425
"401" : {
44264426
"$ref" : "#/components/responses/RequiresAuthentication"
44274427
},
4428+
"403" : {
4429+
"$ref" : "#/components/responses/Forbidden"
4430+
},
44284431
"422" : {
44294432
"$ref" : "#/components/responses/UnprocessableEntity"
44304433
},
@@ -4454,6 +4457,9 @@
44544457
"401" : {
44554458
"$ref" : "#/components/responses/RequiresAuthentication"
44564459
},
4460+
"403" : {
4461+
"$ref" : "#/components/responses/Forbidden"
4462+
},
44574463
"404" : {
44584464
"$ref" : "#/components/responses/NotFound"
44594465
},
@@ -9461,7 +9467,7 @@
94619467
},
94629468
"APIKeyScope" : {
94639469
"description" : "Scope of permissions for the API key. API keys are used for creating new plugin versions and downloading existing plugins",
9464-
"enum" : [ "read-and-write" ],
9470+
"enum" : [ "read-and-write", "syncs-operations-only" ],
94659471
"type" : "string"
94669472
},
94679473
"APIKey" : {
@@ -11590,6 +11596,9 @@
1159011596
"expires_at" : {
1159111597
"format" : "date-time",
1159211598
"type" : "string"
11599+
},
11600+
"scope" : {
11601+
"$ref" : "#/components/schemas/APIKeyScope"
1159311602
}
1159411603
},
1159511604
"required" : [ "expires_at", "name" ]

0 commit comments

Comments
 (0)