Skip to content

Commit bd69656

Browse files
authored
Merge pull request mtrajano#3 from overint/default-param-type
Switch param type default to string
2 parents 16c298f + 7548e0b commit bd69656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parameters/PathParameterGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function getParameters()
2020
$params[] = [
2121
'in' => $this->getParamLocation(),
2222
'name' => strip_optional_char($variable),
23-
'type' => 'integer', //best guess for a variable in the path
23+
'type' => 'string', //best guess for a variable in the path
2424
'required' => $this->isPathVariableRequired($variable),
2525
'description' => '',
2626
];

0 commit comments

Comments
 (0)