Skip to content

Commit 6af177b

Browse files
Php: Fix form data field names to use spec-defined baseName instead of paramName
1 parent 2a4c1d6 commit 6af177b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • modules/openapi-generator/src/main/resources/php

modules/openapi-generator/src/main/resources/php/api.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ use {{invokerPackage}}\ObjectSerializer;
654654

655655
$formData = $formDataProcessor->prepare([
656656
{{/-first}}
657-
'{{paramName}}' => ${{paramName}},
657+
'{{baseName}}' => ${{paramName}},
658658
{{#-last}}
659659
]);
660660

0 commit comments

Comments
 (0)