From 983b9675d62947e98b0adbbd2b1f740ff95e9624 Mon Sep 17 00:00:00 2001 From: Nicolas Casademont Date: Tue, 4 Feb 2025 11:09:55 +0100 Subject: [PATCH] fix: Functioncall is actually a bit different than the deprecated function definition type --- docs/openapi.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/docs/openapi.json b/docs/openapi.json index 46556865..7ffea3fa 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -1527,6 +1527,23 @@ } } }, + "FunctionDefinitionDeprecated": { + "type": "object", + "required": [ + "name", + "arguments" + ], + "properties": { + "arguments": {}, + "description": { + "type": "string", + "nullable": true + }, + "name": { + "type": "string" + } + } + }, "FunctionDefinition": { "type": "object", "required": [ @@ -2287,7 +2304,7 @@ "$ref": "#/components/schemas/FunctionDefinition" }, { - "$ref": "#/components/schemas/FunctionCall" + "$ref": "#/components/schemas/FunctionDefinitionDeprecated" } ] },