From c2dd95e2f45d46f6e3a267b007ff2401785a76a3 Mon Sep 17 00:00:00 2001 From: cq-bot Date: Tue, 21 Oct 2025 14:45:56 +0000 Subject: [PATCH] fix: Generate CloudQuery Go API Client from `spec.json` --- models.gen.go | 3 +++ spec.json | 11 +++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/models.gen.go b/models.gen.go index ed5bcdd..ccc9f9f 100644 --- a/models.gen.go +++ b/models.gen.go @@ -3093,6 +3093,9 @@ type User struct { // Name The unique name for the user. Name *UserName `json:"name,omitempty"` + // Onboarded Whether the user has completed onboarding + Onboarded *UserOnboarded `json:"onboarded,omitempty"` + // ProfileImageURL Profile image URL of user ProfileImageURL *string `json:"profile_image_url,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` diff --git a/spec.json b/spec.json index 6c68754..7cf29db 100644 --- a/spec.json +++ b/spec.json @@ -9061,6 +9061,10 @@ "pattern" : "^[a-zA-Z\\p{L}][a-zA-Z\\p{L} \\-']*$", "type" : "string" }, + "UserOnboarded" : { + "description" : "Whether the user has completed onboarding", + "type" : "boolean" + }, "User" : { "additionalProperties" : false, "description" : "CloudQuery User", @@ -9084,6 +9088,9 @@ "name" : { "$ref" : "#/components/schemas/UserName" }, + "onboarded" : { + "$ref" : "#/components/schemas/UserOnboarded" + }, "updated_at" : { "example" : "2017-07-14T16:53:42Z", "format" : "date-time", @@ -9576,10 +9583,6 @@ } } }, - "UserOnboarded" : { - "description" : "Whether the user has completed onboarding", - "type" : "boolean" - }, "InvitationWithToken" : { "additionalProperties" : false, "allOf" : [ {