From aa2a9c7ce05ec996522d4dc696971f1913a0fba1 Mon Sep 17 00:00:00 2001 From: Vapi Tasker Date: Wed, 22 Apr 2026 18:24:15 +0000 Subject: [PATCH] fix: add metadata field to CreateCallDTO schema Add top-level `metadata` field to CreateCallDTO, CreateOutboundCallDTO, and Call response schemas in the OpenAPI spec. This field was already present on CreateAssistantDTO and AssistantOverrides but missing from call-related schemas, causing all auto-generated SDKs (including .NET) to lack a metadata property on CreateCallDto. The field follows the same pattern as CreateAssistantDTO's metadata: a simple object type for storing arbitrary key-value metadata on calls. Linear: PRO-1773 Co-Authored-By: Claude Opus 4.6 --- fern/apis/api/openapi.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/fern/apis/api/openapi.json b/fern/apis/api/openapi.json index 7748d5731..c2ca4c3c6 100644 --- a/fern/apis/api/openapi.json +++ b/fern/apis/api/openapi.json @@ -34766,6 +34766,10 @@ "transport": { "type": "object", "description": "This is the transport of the call." + }, + "metadata": { + "type": "object", + "description": "This is for metadata you want to store on the call." } }, "required": [ @@ -35032,6 +35036,10 @@ "$ref": "#/components/schemas/CreateCustomerDTO" } ] + }, + "metadata": { + "type": "object", + "description": "This is for metadata you want to store on the call." } } }, @@ -35200,6 +35208,10 @@ "$ref": "#/components/schemas/CreateCustomerDTO" } ] + }, + "metadata": { + "type": "object", + "description": "This is for metadata you want to store on the call." } } }, @@ -65537,4 +65549,4 @@ } } } -} \ No newline at end of file +}