Skip to content

Commit 10705ea

Browse files
committed
The directory config key added to local and storage drivers;
1 parent a97158e commit 10705ea

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

config/auto-doc.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@
1515
*/
1616
'route' => '',
1717

18-
/*
19-
|--------------------------------------------------------------------------
20-
| Documentation Directory
21-
|--------------------------------------------------------------------------
22-
|
23-
| Documentation file will be stored in the determined directory
24-
*/
25-
'documentation_directory' => storage_path('documentations'),
26-
2718
/*
2819
|--------------------------------------------------------------------------
2920
| Global application prefix
@@ -137,6 +128,7 @@
137128
'drivers' => [
138129
'local' => [
139130
'class' => LocalDriver::class,
131+
'directory' => 'documentations',
140132
'production_path' => 'documentation.json',
141133
],
142134
'remote' => [
@@ -155,6 +147,7 @@
155147
| One of the filesystems.disks config value
156148
*/
157149
'disk' => env('SWAGGER_STORAGE_DRIVER_DISK', 'public'),
150+
'directory' => 'documentations',
158151
'production_path' => 'documentation.json',
159152
],
160153
],

0 commit comments

Comments
 (0)