i have installed laravel 5.6 with Swagger with DarkaOnLine/L5-Swagger package, i have followed the installation instructions that is
php composer require "darkaonline/l5-swagger:5.6.*"
php artisan vendor:publish --provider "L5Swagger\L5SwaggerServiceProvider"
i have also set
L5_SWAGGER_GENERATE_ALWAYS=true
in my env and created a controller and added
/**
* @SWG\Swagger(
* schemes={"http","https"},
* host="api.host.com",
* basePath="/",
* @SWG\Info(
* version="1.0.0",
* title="This is my website cool API",
* description="Api description...",
* termsOfService="",
* @SWG\Contact(
* email="[email protected]"
* ),
* @SWG\License(
* name="Private License",
* url="URL to the license"
* )
* ),
* @SWG\ExternalDocumentation(
* description="Find out more about my website",
* url="http..."
* )
* )
*/
after that i typed
php artisan l5-swagger:generate
php artisan vendor:publish
when i visit /api/documentation i get a white screen and in the console i am getting the following error
your help will be highly appreciated.