From 6886436c5ddb6bd97791b14a1ea07bb77d43aff0 Mon Sep 17 00:00:00 2001 From: cq-bot Date: Thu, 29 Jan 2026 16:13:06 +0000 Subject: [PATCH] fix: Generate CloudQuery Go API Client from `spec.json` --- spec.json | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/spec.json b/spec.json index 8920568..66e7bd2 100644 --- a/spec.json +++ b/spec.json @@ -4328,12 +4328,17 @@ "post": { "operationId": "CreateConversation", "summary": "Start a new chat conversation", - "description": "Create a new AI chat conversation", + "description": "Create a new AI chat conversation. Note that this endpoint does not currently support API key authentication.", "parameters": [ { "$ref": "#/components/parameters/team_name" } ], + "security": [ + { + "cookieAuth": [] + } + ], "requestBody": { "required": true, "content": { @@ -4377,7 +4382,12 @@ "get": { "operationId": "GetConversation", "summary": "Retrieve a chat conversation", - "description": "Get details of an existing AI chat conversation. Useful for polling for updates.", + "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.", + "security": [ + { + "cookieAuth": [] + } + ], "parameters": [ { "$ref": "#/components/parameters/team_name" @@ -4417,7 +4427,7 @@ "post": { "operationId": "SendMessage", "summary": "Add a message to an existing conversation", - "description": "Send a new message to an existing AI chat conversation", + "description": "Send a new message to an existing AI chat conversation. Note that this endpoint does not currently support API key authentication.", "parameters": [ { "$ref": "#/components/parameters/team_name" @@ -4426,6 +4436,11 @@ "$ref": "#/components/parameters/conversation_id" } ], + "security": [ + { + "cookieAuth": [] + } + ], "requestBody": { "required": true, "content": {