mpociot / laravel-apidoc-generator

Laravel API Documentation Generator
https://beyondco.de/docs/laravel-apidoc-generator/
MIT License
3.43k stars 614 forks source link

Lumen 7 Error when execute php artisan apidoc:generate #772

Open vuldov opened 4 years ago

vuldov commented 4 years ago

When I want to generate the documentation for my Lumen project with the command : php artisan apidoc:generate

I just have this error message :

In ManagesTransactions.php line 156:

  Call to a member function beginTransaction() on null

My database is a mongodb and I use "jenssegers/mongodb" to manage it. So, I cannot generate the documentation.

Thanks you !

shalvah commented 4 years ago

Hi, I'm no longer on this project (and I don't think it's being maintained anymore), but if you're interested in switching to Scribe, we recently added a fix for this. https://github.com/knuckleswtf/scribe/issues/48