We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a713a22 + 9aa6c3f commit 4864707Copy full SHA for 4864707
README.md
@@ -80,7 +80,7 @@ $builder->classCreatedHook = new \Swaggest\PhpCodeBuilder\JsonSchema\ClassHookCa
80
$class->setNamespace($appNs);
81
if ('#' === $path) {
82
$class->setName('User'); // Class name for root schema
83
- } elseif (strpos($path, '#/definitions/') === 0)) {
+ } elseif (strpos($path, '#/definitions/') === 0) {
84
$class->setName(\Swaggest\PhpCodeBuilder\PhpCode::makePhpClassName(
85
substr($path, strlen('#/definitions/'))));
86
}
0 commit comments