diff --git a/core/index.d.ts b/core/index.d.ts index ad01aedfe..b3e9334ed 100644 --- a/core/index.d.ts +++ b/core/index.d.ts @@ -505,7 +505,7 @@ export interface RequestOptions { caBundlePath?: string | string[]; proxy?: string; headers?: { [key: string]: string }; - extraBodyProperties?: { [key: string]: string }; + extraBodyProperties?: { [key: string]: any }; } export interface StepWithParams { diff --git a/docs/static/schemas/config.json b/docs/static/schemas/config.json index d4ab00298..3a352d5a5 100644 --- a/docs/static/schemas/config.json +++ b/docs/static/schemas/config.json @@ -91,10 +91,7 @@ "extraBodyProperties": { "title": "Extra Body Properties", "description": "This object will be merged with the body when making the HTTP requests", - "type": "object", - "additionalProperties": { - "type": "string" - } + "type": "object" } } }, diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index d4ab00298..3a352d5a5 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -91,10 +91,7 @@ "extraBodyProperties": { "title": "Extra Body Properties", "description": "This object will be merged with the body when making the HTTP requests", - "type": "object", - "additionalProperties": { - "type": "string" - } + "type": "object" } } }, diff --git a/extensions/vscode/continue_rc_schema.json b/extensions/vscode/continue_rc_schema.json index 7c2643f0d..efd517f75 100644 --- a/extensions/vscode/continue_rc_schema.json +++ b/extensions/vscode/continue_rc_schema.json @@ -98,10 +98,7 @@ "extraBodyProperties": { "title": "Extra Body Properties", "description": "This object will be merged with the body when making the HTTP requests", - "type": "object", - "additionalProperties": { - "type": "string" - } + "type": "object" } } },