-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hi,
I have added "latrell/swagger": "^1.0" to my Composer file and I have Swagger and Swagger UI up and running well locally in my browser on a Windows based machine.
However when I deploy to Staging or Production, on a Linux based machine, when I try to access /api-docs I only get : NotFoundHttpException in RouteCollection.php line 143
The 'php artisan:list' command shows the /api-docs and /api-docs/docs/{page?} routes are in place on the Local Windows machine only.
However running 'php artisan:list' on the staging server doesn't show /api-docs and /api-docs/docs/{page?} routes.
Composer.json and composer.lock files are the same on blog local and Staging. On both I have dumped the autoload as well as deleted the Vendor folder and re-started by running composer install several times.
It always works well locally on a Windows PC but not on an Ubuntu 14.04 LTS 64 bit version. Both have the same code, same folder permissions etc.
can anyone help with this?