Skip to content

Commit 877bc70

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Spec/Swagger2.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +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'];
241242
$output['parameters']['body'][] = $param;
242243
break;
243244
case 'body':

0 commit comments

Comments
 (0)