laravel-api-generator icon indicating copy to clipboard operation
laravel-api-generator copied to clipboard

package only works if app uses default name, and generator.php ignores some settings

Open vesper8 opened this issue 9 years ago • 0 comments

You had fixed this apparently but now the problem is back.

https://github.com/mitulgolakiya/laravel-api-generator/issues/29

Using the dev-master (tried using the @dev as well) I am still running into many cases where I have had to manually change the namespace since I am using a custom namespace different than "App". Specifically, the requests are being generated with 'App/Http/Requests' even though I have set the correct namespace in the generator.php config file under 'namespace_request' so it is being ignored.

The base controller is also having the same issue as what I initially opened this issue about.

On a side note, it appears that the path_views from the generator.php is also being ignored. I tried having my views generated in a subfolder of resources/views/API/ and getting the error InvalidArgumentException in FileViewFinder.php line 137: View [networks.index] not found.

but it works fine if I leave it to the default

vesper8 avatar Dec 19 '15 17:12 vesper8