jpcaparas / laravel-swagger-demo

Demo on how to generate Swagger docs on Laravel.
http://swagger.test.jpcaparas.com/
The Unlicense
47 stars 8 forks source link

Missing settings after fresh installation. #2

Open vishal2810 opened 7 years ago

vishal2810 commented 7 years ago

Hi, I download .zpi from this, unzip and fire composer update. create new .env from .env.example, Generate key by key:generate, Then php artisan serve. Bt it's nothing work. show me a blank page on http://localhost:8000/api/documentation. And Error is: Can't read swagger JSON from http://localhost:8000/docs/api-docs.json

When i execute command: php artisan l5-swagger:generate It return exception: [ErrorException] Constants may only evaluate to scalar values.

I think i messing some setting after fresh installation.

railsgem commented 7 years ago

same issue