Skip to content

Commit 9c529c2

Browse files
authored
Merge pull request #165 from RonasIT/eparusov/refactor-readme
fix: refactor readme.md
2 parents d8dea15 + fcc1c21 commit 9c529c2

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

readme.md

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

5964
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:
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

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

0 commit comments

Comments
 (0)