Skip to content

Commit ad9d140

Browse files
committed
Correct parameter's namespaces
1 parent e6636f5 commit ad9d140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ private function writeClass(string $namespace, string $class, string $apiPath, a
207207
if (isset($parameter['schema']))
208208
{
209209
$parts = \explode('/', $parameter['schema']['$ref']);
210-
$type = $this->definitionNamespace . '\\' . \array_pop($parts);
210+
$type = '\\' . $this->definitionNamespace . '\\' . \array_pop($parts);
211211
}
212212
else
213213
{

0 commit comments

Comments
 (0)