File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,12 @@ passing PHPUnit tests.
4343> ],
4444> ```
4545
46- 2. Run `php artisan vendor:publish --provider=RonasIT\\AutoDoc\\AutoDocServiceProvider`
47- 1. Add `\RonasIT\AutoDoc\Http\Middleware\AutoDocMiddleware::class` middleware to the global HTTP middleware list `bootstrap\app.php`:
46+ 2. Run
47+ ```
48+ php artisan vendor: publish --provider=RonasIT\\ AutoDoc\\ AutoDocServiceProvider
49+ ```
50+
51+ 3. Add `\RonasIT\AutoDoc\Http\Middleware\AutoDocMiddleware::class` middleware to the global HTTP middleware list `bootstrap\app.php`:
4852
4953```php
5054 return Application::configure(basePath: dirname(__DIR__))
@@ -57,7 +61,8 @@ passing PHPUnit tests.
5761```
5862
59634 . Add ` \RonasIT\AutoDoc\Traits\AutoDocTestCaseTrait ` trait to ` tests/TestCase.php `
60- 1 . Configure documentation saving using one of the next ways:
64+
65+ 5 . Configure documentation saving using one of the next ways:
6166 - Add ` SwaggerExtension ` to the ` <extensions> ` block of your ` phpunit.xml ` .
6267 ** Please note that this way will be removed after updating**
6368 ** PHPUnit up to 10 version (https://github.com/sebastianbergmann/phpunit/issues/4676 )**
@@ -232,4 +237,3 @@ can be found in the [Contributing guide](CONTRIBUTING.md).
232237## License
233238
234239Laravel Swagger plugin is open-sourced software licensed under the [MIT license](LICENSE).
235-
You can’t perform that action at this time.
0 commit comments