Skip to content

Commit 9ee7a9a

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

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

spec.json

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4328,12 +4328,17 @@
43284328
"post": {
43294329
"operationId": "CreateConversation",
43304330
"summary": "Start a new chat conversation",
4331-
"description": "Create a new AI chat conversation",
4331+
"description": "Create a new AI chat conversation. Note that this endpoint does not currently support API key authentication.",
43324332
"parameters": [
43334333
{
43344334
"$ref": "#/components/parameters/team_name"
43354335
}
43364336
],
4337+
"security": [
4338+
{
4339+
"cookieAuth": []
4340+
}
4341+
],
43374342
"requestBody": {
43384343
"required": true,
43394344
"content": {
@@ -4377,7 +4382,12 @@
43774382
"get": {
43784383
"operationId": "GetConversation",
43794384
"summary": "Retrieve a chat conversation",
4380-
"description": "Get details of an existing AI chat conversation. Useful for polling for updates.",
4385+
"description": "Get details of an existing AI chat conversation. Useful for polling for updates. Note that this endpoint does not currently support API key authentication.",
4386+
"security": [
4387+
{
4388+
"cookieAuth": []
4389+
}
4390+
],
43814391
"parameters": [
43824392
{
43834393
"$ref": "#/components/parameters/team_name"
@@ -4417,7 +4427,7 @@
44174427
"post": {
44184428
"operationId": "SendMessage",
44194429
"summary": "Add a message to an existing conversation",
4420-
"description": "Send a new message to an existing AI chat conversation",
4430+
"description": "Send a new message to an existing AI chat conversation. Note that this endpoint does not currently support API key authentication.",
44214431
"parameters": [
44224432
{
44234433
"$ref": "#/components/parameters/team_name"
@@ -4426,6 +4436,11 @@
44264436
"$ref": "#/components/parameters/conversation_id"
44274437
}
44284438
],
4439+
"security": [
4440+
{
4441+
"cookieAuth": []
4442+
}
4443+
],
44294444
"requestBody": {
44304445
"required": true,
44314446
"content": {

0 commit comments

Comments
 (0)