Skip to content

v0.1.2

Compare
Choose a tag to compare
@hms5232 hms5232 released this 19 Nov 04:07
· 34 commits to main since this release

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