Skip to content

Commit 8a8c897

Browse files
committed
refactor: update readme.md
Refs: #18
1 parent 439c3e0 commit 8a8c897

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

readme.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,14 @@ to display the generated documentation for a config.
3636
1. Configure documentation saving, using one of the next way:
3737
- Add `SwaggerExtension` to the `<extensions>` block of your `phpunit.xml`. Please note that this way will be removed after updating PHPUnit up to 10 version (https://github.com/sebastianbergmann/phpunit/issues/4676)
3838
```
39-
<extension class="RonasIT\Support\AutoDoc\Tests\PhpUnitExtensions\SwaggerExtension"/>
39+
<extensions>
40+
<extension class="RonasIT\Support\AutoDoc\Tests\PhpUnitExtensions\SwaggerExtension"/>
41+
</extensions>
42+
<testsuites>
43+
<testsuite name="Feature">
44+
<directory suffix="Test.php">./tests/Feature</directory>
45+
</testsuite>
46+
</testsuites>
4047
```
4148
- Call `php artisan swagger:push-documentation` console command after the `tests` stage in your CI/CD configuration
4249

0 commit comments

Comments
 (0)