File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,13 @@ 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+ ```
49+ php artisan vendor: publish --provider=RonasIT\\ AutoDoc\\ AutoDocServiceProvider
50+ ```
51+
52+ 3. Add `\RonasIT\AutoDoc\Http\Middleware\AutoDocMiddleware::class` middleware to the global HTTP middleware list `bootstrap\app.php`:
4853
4954```php
5055 return Application::configure(basePath: dirname(__DIR__))
@@ -57,7 +62,8 @@ passing PHPUnit tests.
5762```
5863
59644 . Add ` \RonasIT\AutoDoc\Traits\AutoDocTestCaseTrait ` trait to ` tests/TestCase.php `
60- 1 . Configure documentation saving using one of the next ways:
65+
66+ 5 . Configure documentation saving using one of the next ways:
6167 - Add ` SwaggerExtension ` to the ` <extensions> ` block of your ` phpunit.xml ` .
6268 ** Please note that this way will be removed after updating**
6369 ** PHPUnit up to 10 version (https://github.com/sebastianbergmann/phpunit/issues/4676 )**
@@ -232,4 +238,3 @@ can be found in the [Contributing guide](CONTRIBUTING.md).
232238## License
233239
234240Laravel 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