From f2ebcb64f25645d05b2e8b13881e39e94b55d260 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 09:13:38 -0500 Subject: [PATCH] chore(CE): Update HTTP Model spec (#583) (#474) Co-authored-by: TivonB-AI2 --- integrations/Gemfile.lock | 2 +- integrations/lib/multiwoven/integrations/rollout.rb | 2 +- .../integrations/source/http_model/config/spec.json | 13 +++++++------ 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/integrations/Gemfile.lock b/integrations/Gemfile.lock index 80bacca5..5a5979a7 100644 --- a/integrations/Gemfile.lock +++ b/integrations/Gemfile.lock @@ -7,7 +7,7 @@ GIT PATH remote: . specs: - multiwoven-integrations (0.15.0) + multiwoven-integrations (0.15.2) MailchimpMarketing activesupport async-websocket diff --git a/integrations/lib/multiwoven/integrations/rollout.rb b/integrations/lib/multiwoven/integrations/rollout.rb index 44c12bb9..b694772b 100644 --- a/integrations/lib/multiwoven/integrations/rollout.rb +++ b/integrations/lib/multiwoven/integrations/rollout.rb @@ -2,7 +2,7 @@ module Multiwoven module Integrations - VERSION = "0.15.1" + VERSION = "0.15.2" ENABLED_SOURCES = %w[ Snowflake diff --git a/integrations/lib/multiwoven/integrations/source/http_model/config/spec.json b/integrations/lib/multiwoven/integrations/source/http_model/config/spec.json index e504850f..557bef93 100644 --- a/integrations/lib/multiwoven/integrations/source/http_model/config/spec.json +++ b/integrations/lib/multiwoven/integrations/source/http_model/config/spec.json @@ -4,7 +4,7 @@ "connector_query_type": "ai_ml", "connection_specification": { "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Http Model Endpoint", + "title": "HTTP Model Endpoint", "type": "object", "required": ["url_host"], "properties": { @@ -14,7 +14,8 @@ "order": 0 }, "headers": { - "title": "Http Headers", + "title": "HTTP Headers", + "description": "Custom headers to include in the HTTP request. Useful for authentication, content type specifications, and other request metadata.", "order": 1, "additionalProperties": { "type": "string" @@ -25,10 +26,10 @@ "type": "object", "properties": { "timeout": { - "type": "integer", - "minimum": 0, - "default": 30, - "title": "Http Timeout", + "type": "string", + "default": "30", + "title": "HTTP Timeout", + "description": "The maximum time, in seconds, to wait for a response from the server before the request is canceled.", "order": 0 } },