Skip to content

Commit b968a7f

Browse files
committed
[#522] Fix generated OpenAPI spec route path concatenation
1 parent 434d9d5 commit b968a7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Console/Commands/OpenApiCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private function openapiRoutes(string $module): string
198198
199199
$route->get("spec", function (): Quantum\Http\Response {
200200
$fs = Quantum\Storage\Factories\FileSystemFactory::get();
201-
return response()->json($fs->getJson(modules_dir() . "' . DS . $module . DS . 'resources' . DS . 'openapi' . DS . 'spec.json"));
201+
return response()->json($fs->getJson(modules_dir() . DS . "' . $module . '" . DS . "resources" . DS . "openapi" . DS . "spec.json"));
202202
});
203203
});' . PHP_EOL;
204204
}

0 commit comments

Comments
 (0)