Skip to content

Commit c794448

Browse files
committed
1 parent a100a34 commit c794448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Vyuldashev\LaravelOpenApi\Http\OpenApiController;
66

77
Route::group(['as' => 'openapi.'], function () {
8-
foreach (config('openapi.collections') as $name => $config) {
8+
foreach (config('openapi.collections', []) as $name => $config) {
99
$uri = Arr::get($config, 'route.uri');
1010

1111
if (! $uri) {

0 commit comments

Comments
 (0)