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.
43
43
> ],
44
44
> ```
45
45
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`:
48
53
49
54
```php
50
55
return Application::configure(basePath: dirname(__DIR__))
@@ -57,7 +62,8 @@ passing PHPUnit tests.
57
62
```
58
63
59
64
4 . 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:
61
67
- Add ` SwaggerExtension ` to the ` <extensions> ` block of your ` phpunit.xml ` .
62
68
** Please note that this way will be removed after updating**
63
69
** 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).
232
238
## License
233
239
234
240
Laravel 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