I am working on building an API with Laravel 5.3 and Dingo API, and I am curious where I should be putting the routes now that the files are split between web/api. I would assume in the API routes file but I was having some issues and wanted to confirm.
This is the code im referring to:
$api = app('Dingo\Api\Routing\Router');
$api->version('v1', function ($api) {
....
});