Skip to content

Commit 03a2ab8

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

File tree

3 files changed

+287
-0
lines changed

3 files changed

+287
-0
lines changed

client.gen.go

Lines changed: 157 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: 75 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: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6922,6 +6922,52 @@
69226922
}
69236923
},
69246924
"/teams/{team_name}/ai-onboarding/conversations" : {
6925+
"delete" : {
6926+
"description" : "End the current AI onboarding conversation",
6927+
"operationId" : "AIOnboardingEndConversation",
6928+
"parameters" : [ {
6929+
"explode" : false,
6930+
"in" : "path",
6931+
"name" : "team_name",
6932+
"required" : true,
6933+
"schema" : {
6934+
"type" : "string"
6935+
},
6936+
"style" : "simple",
6937+
"x-go-name" : "TeamName"
6938+
} ],
6939+
"responses" : {
6940+
"200" : {
6941+
"content" : {
6942+
"application/json" : {
6943+
"schema" : {
6944+
"$ref" : "#/components/schemas/AIOnboardingEndConversation_200_response"
6945+
}
6946+
}
6947+
},
6948+
"description" : "Conversation ended successfully"
6949+
},
6950+
"400" : {
6951+
"$ref" : "#/components/responses/BadRequest"
6952+
},
6953+
"401" : {
6954+
"$ref" : "#/components/responses/RequiresAuthentication"
6955+
},
6956+
"403" : {
6957+
"$ref" : "#/components/responses/Forbidden"
6958+
},
6959+
"404" : {
6960+
"$ref" : "#/components/responses/NotFound"
6961+
},
6962+
"405" : {
6963+
"$ref" : "#/components/responses/MethodNotAllowed"
6964+
},
6965+
"500" : {
6966+
"$ref" : "#/components/responses/InternalError"
6967+
}
6968+
},
6969+
"tags" : [ "ai-onboarding" ]
6970+
},
69256971
"post" : {
69266972
"description" : "Start a new conversation with the AI onboarding assistant",
69276973
"operationId" : "AIOnboardingNewConversation",
@@ -12102,6 +12148,15 @@
1210212148
},
1210312149
"required" : [ "conversation_id" ]
1210412150
},
12151+
"AIOnboardingEndConversation_200_response" : {
12152+
"additionalProperties" : { },
12153+
"properties" : {
12154+
"success" : {
12155+
"description" : "Whether the conversation was ended successfully",
12156+
"x-go-name" : "Success"
12157+
}
12158+
}
12159+
},
1210512160
"UsageIncrease_tables_inner" : {
1210612161
"properties" : {
1210712162
"name" : {

0 commit comments

Comments
 (0)