Skip to content

Commit a1f194a

Browse files
committed
fix: refactor readme.md
1 parent d8dea15 commit a1f194a

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

readme.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff 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

5963
4. 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

234239
Laravel Swagger plugin is open-sourced software licensed under the [MIT license](LICENSE).
235-

0 commit comments

Comments
 (0)