Hi,
After I ran php artisan api:generate --routePrefix="api/v1/*", the 'public/docs' folder was created, but the inside the doc is empty.
I have followed through the instruction but still can't get it right.
I'm using: Laravel 5.4, Passport to authenticate user
Anyone has this same problem? or did I miss something?
Here is the screenshot of the generated doc:

Hi. When I used --routePrefix="" incorrectly, I also created emtpy docs. Try playing around with using the parameter correctly in order to get the docs you're looking for.
I'm having the same problem and I tried setting routePrefix to * with no luck.
Edit: turns out in my case the problem was caused by PHPStorm's Command Line Console escaping the quotes. Removing the quotes fixed the problem.

Wonderful package.
Hi, I had the same problem and fixed it by changing the _app/Http/Request.php_ to

I'm using Laravel 5.5
Most helpful comment
Hi. When I used --routePrefix="" incorrectly, I also created emtpy docs. Try playing around with using the parameter correctly in order to get the docs you're looking for.