hussein4alaa / laravel-g4t-swagger-auto-generate

auto generate swagger in laravel
MIT License
106 stars 13 forks source link

Failed to open stream: No such file or directory & Trait "G4T\Swagger\Helpers" not found #4

Closed milantarami closed 1 year ago

milantarami commented 1 year ago

i am using laravel sail when i try to install the package i got the following errors

require(/var/www/html/vendor/g4t/swagger/src/routes/web.php): Failed to open stream: No such file or directory

image

solution

looks like a case sensitive issue when i rename a folder src/Routes to src/routes and run command sail composer dump-autoload package get installed

After then i got another issue

When i navigate to route swagger/documentation i got following error

Trait "G4T\Swagger\Helpers" not found

hussein4alaa commented 1 year ago

I am very sorry that you encountered this problem And thank you for telling me and helping me to solve it Released version 1.0.2 free of this problem Thank you for your contribution to improving it