Skip to content

Commit 24b44d0

Browse files
committed
chore: fix sdk generaotr
1 parent 877bc70 commit 24b44d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Spec/Swagger2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public function getMethods($service)
238238
$output['parameters']['query'][] = $param;
239239
break;
240240
case 'formData':
241-
// $param['default'] = (is_array($param['default']) || $param['default'] instanceof stdClass) ? json_encode($param['default']) : $param['default'];
241+
$param['default'] = (is_array($param['default']) || $param['default'] instanceof stdClass) ? json_encode($param['default']) : $param['default'];
242242
$output['parameters']['body'][] = $param;
243243
break;
244244
case 'body':

0 commit comments

Comments
 (0)