Waheed Sindhani
Waheed Sindhani

Reputation: 91

Laravel Api Documentation Genarator

I've installed the composer require mpociot/laravel-apidoc-generator according to what the documentation says. Also published the config file Now when I run the php artisan apidoc:generate command I got the following error, have searched google but din't find anything relevant,
Argument 1 passed to Mpociot\ApiDoc\Tools\DocumentationConfig::__construct() must be of the type array, null given, called in D:\WaheedSindhani\Projects\petApp\vendor\mpociot\laravel-apidoc-generator \src\Commands\GenerateDocumentation.php on line 61

Upvotes: 1

Views: 1579

Answers (1)

Waheed Sindhani
Waheed Sindhani

Reputation: 91

it is a config cache problem php artisan config:clear has solved the problem'

Upvotes: 3

Related Questions