From 7f958fbdcc262eabc7930a395dc7725785169327 Mon Sep 17 00:00:00 2001 From: MPPlexor <160720263+MPPlexor@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:00:46 +0100 Subject: [PATCH] Update api.mustache --- modules/swagger-codegen/src/main/resources/php/api.mustache | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/swagger-codegen/src/main/resources/php/api.mustache b/modules/swagger-codegen/src/main/resources/php/api.mustache index e0b01e1f678..442a76fe010 100644 --- a/modules/swagger-codegen/src/main/resources/php/api.mustache +++ b/modules/swagger-codegen/src/main/resources/php/api.mustache @@ -403,6 +403,7 @@ use {{invokerPackage}}\ObjectSerializer; {{/isFile}} } {{/formParams}} + $multipart = !empty($formParams); // body params $_tempBody = null; {{#bodyParams}}