v0.1.2
New
- Add support for PHP 7.3, so fully support Laravel 8 now.
- Integrated Swagger Editor will load index API file set in config by default.
- You can specify which version of UI/Editor you want to use now. Append the following config in
config/swagger.php
:
return [
'ui' => [
'ver' => env('LARAVEL_SWAGGER_UI_VERSION'), // add this line
],
'editor' => [
'ver' => env('LARAVEL_SWAGGER_EDITOR_VERSION'), // add this line
],
]
If null
, it will use laravel-swagger default version.
Of course, you can re-run publish command with --force
flag to override and update the config file.
Full Changelog: v0.1.1...v0.1.2