Skip to content

Commit b95d08e

Browse files
Apply baseName fix to php-nextgen and psr-18 templates
1 parent fec0278 commit b95d08e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

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

733733
$formData = $formDataProcessor->prepare([
734734
{{/-first}}
735-
'{{paramName}}' => ${{paramName}},
735+
'{{baseName}}' => ${{paramName}},
736736
{{#-last}}
737737
]);
738738

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ use function sprintf;
612612

613613
$formData = $formDataProcessor->prepare([
614614
{{/-first}}
615-
'{{paramName}}' => ${{paramName}},
615+
'{{baseName}}' => ${{paramName}},
616616
{{#-last}}
617617
]);
618618

0 commit comments

Comments
 (0)