With this in my routes/api.php
Route::apiResource('task', 'TasksController')->except(['store','update']);
I get this error:
In GenerateDocumentation.php line 318: Method store does not exist
But when I change the routes to explicitly call each method (like below) it works:
Route::get('task', 'TasksController@index');
Route::put('task/{$id}', 'TasksController@store');
Route::delete('task/{$id}', 'TasksController@destroy');
And it also works if I use Route::resource and explicitly remote the create and edit methods:
Route::resource('task', 'TasksController')->except(['store','update','create','edit']);
This isn't a big deal to work around...but it would be nice if the generator could handle apiResource partial routes...