-
-
Notifications
You must be signed in to change notification settings - Fork 411
Migration Guides
Darius Matulionis edited this page Sep 11, 2020
·
1 revision
- Remove
config/l5-swagger.phpfile (make a copy if needed) - Remove
resources/views/vendor/l5-swaggerdirectory - Run
php artisan vendor:publish --provider "L5Swagger\L5SwaggerServiceProvider"to publish new swagger-ui view and configuration - Edit your
config/l5-swagger.phpfile
- Remove
config/l5-swagger.phpfile (make a copy if needed) - Remove
public/vendor/l5-swaggerdirectory - Remove
resources/views/vendor/l5-swaggerdirectory - Run
l5-swagger:publishto publish new swagger-ui view and configuration - Edit your
config/l5-swagger.phpfile
- Replace
$this->app->register('\Darkaonline\L5Swagger\L5SwaggerServiceProvider');with$this->app->register(\L5Swagger\L5SwaggerServiceProvider::class);in yourAppServiceProvideror add\L5Swagger\L5SwaggerServiceProvider::classline in yourconfig/app.phpfile - Run
l5-swagger:publish-configto publish new config and make your changes if needed - Remove
public/vendor/l5-swaggerdirectory - Remove
resources/views/vendor/l5-swaggerdirectory - Run
l5-swagger:publish-assetsto publish new swagger-ui assets - Run
l5-swagger:publish-viewsto publish new views