Skip to content

Commit 91bcf53

Browse files
fix: Generate CloudQuery Go API Client from spec.json
1 parent c4b9951 commit 91bcf53

2 files changed

Lines changed: 68 additions & 1 deletion

File tree

models.gen.go

Lines changed: 55 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: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8616,6 +8616,19 @@
86168616
"$ref" : "#/components/schemas/TeamName"
86178617
} ],
86188618
"description" : "Optional. When set the new tenant is attached to this existing Cloud team and no team is auto-created; the caller must be an ADMIN of the team or the request 404s (same response shape as an unknown team, so membership existence is not leaked). When unset, a new Cloud team is auto-created with `name = subdomain` and the signing-up user as its sole admin.\n"
8619+
},
8620+
"verify_email" : {
8621+
"default" : false,
8622+
"description" : "When `true`, also send the caller a verification email after provisioning succeeds, folding the separate `POST /user/verify-email` call into this one. The trial wizard sets this so signup + verification-send happen in a single Turnstile-gated request (the Turnstile token is single-use, so it cannot cover two gated calls). Best-effort: a send failure does not fail the signup.\n"
8623+
},
8624+
"return_to" : {
8625+
"description" : "Only used when `verify_email` is `true`. Return-to URL embedded in the verification link, same as `POST /user/verify-email`.\n",
8626+
"format" : "url",
8627+
"pattern" : "^(https:\\/\\/(.*\\.)?cloudquery\\.io(\\/.*)?|http:\\/\\/localhost(:\\d+)?\\/callback)$"
8628+
},
8629+
"subdomain" : {
8630+
"description" : "Only used when `verify_email` is `true`. App host subdomain for the verification link (e.g. `cloud` → `cloud.cloudquery.io`), same as `POST /user/verify-email`. Distinct from the tenant subdomain in the response.\n",
8631+
"pattern" : "^[a-zA-Z0-9-]+$"
86198632
}
86208633
},
86218634
"required" : [ "company", "job_title", "name" ]

0 commit comments

Comments
 (0)