From e1208b4a7e2c0104cc9322c927daafba93377c63 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 3 Nov 2024 01:39:22 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- src/libs/Tripo/Generated/Tripo.TripoApi.UploadFile.g.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/libs/Tripo/Generated/Tripo.TripoApi.UploadFile.g.cs b/src/libs/Tripo/Generated/Tripo.TripoApi.UploadFile.g.cs index dd50d5a..eeb8724 100644 --- a/src/libs/Tripo/Generated/Tripo.TripoApi.UploadFile.g.cs +++ b/src/libs/Tripo/Generated/Tripo.TripoApi.UploadFile.g.cs @@ -64,13 +64,7 @@ partial void ProcessUploadFileResponseContent( } using var __httpRequestContent = new global::System.Net.Http.MultipartFormDataContent(); __httpRequestContent.Add( - content: new global::System.Net.Http.ByteArrayContent(request.File ?? global::System.Array.Empty()) - { - Headers = - { - ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("multipart/form-data"), - }, - }, + content: new global::System.Net.Http.ByteArrayContent(request.File ?? global::System.Array.Empty()), name: "file", fileName: request.Filename ?? string.Empty); __httpRequest.Content = __httpRequestContent;