Skip to content

Commit

Permalink
chore: fix sdk generaotr
Browse files Browse the repository at this point in the history
  • Loading branch information
christyjacob4 committed Aug 20, 2024
1 parent 877bc70 commit 24b44d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Spec/Swagger2.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function getMethods($service)
$output['parameters']['query'][] = $param;
break;
case 'formData':
// $param['default'] = (is_array($param['default']) || $param['default'] instanceof stdClass) ? json_encode($param['default']) : $param['default'];
$param['default'] = (is_array($param['default']) || $param['default'] instanceof stdClass) ? json_encode($param['default']) : $param['default'];
$output['parameters']['body'][] = $param;
break;
case 'body':
Expand Down

0 comments on commit 24b44d0

Please sign in to comment.