Skip to content

Commit f9fb5a6

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

File tree

3 files changed

+149
-0
lines changed

3 files changed

+149
-0
lines changed

client.gen.go

Lines changed: 110 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: 6 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: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3647,6 +3647,30 @@
36473647
"tags" : [ "users" ]
36483648
}
36493649
},
3650+
"/user/authenticated-status" : {
3651+
"get" : {
3652+
"description" : "Check if the current user is authenticated",
3653+
"operationId" : "CheckUserAuthStatus",
3654+
"parameters" : [ ],
3655+
"responses" : {
3656+
"200" : {
3657+
"content" : {
3658+
"application/json" : {
3659+
"schema" : {
3660+
"$ref" : "#/components/schemas/CheckUserAuthStatus_200_response"
3661+
}
3662+
}
3663+
},
3664+
"description" : "Response"
3665+
},
3666+
"500" : {
3667+
"$ref" : "#/components/responses/InternalError"
3668+
}
3669+
},
3670+
"security" : [ ],
3671+
"tags" : [ "users" ]
3672+
}
3673+
},
36503674
"/user/login" : {
36513675
"delete" : {
36523676
"description" : "Logout a session",
@@ -10974,6 +10998,15 @@
1097410998
}
1097510999
}
1097611000
},
11001+
"CheckUserAuthStatus_200_response" : {
11002+
"properties" : {
11003+
"authenticated" : {
11004+
"description" : "Whether the user is authenticated",
11005+
"type" : "boolean"
11006+
}
11007+
},
11008+
"required" : [ "authenticated" ]
11009+
},
1097711010
"LoginUser_request" : {
1097811011
"additionalProperties" : { },
1097911012
"properties" : {

0 commit comments

Comments
 (0)