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

add version (v1) to api path

Open kolydart opened this issue 6 years ago • 2 comments

It would be nice to auto create version in api path (/api/v1/$model).

kolydart avatar Apr 25 '19 08:04 kolydart

@kolydart thanks for Pull Request.

But this thing then needs to be done in a Route::group and/or added to routes/api.php file. It wouldn't work the way you're suggesting here, it's not flexible.

PovilasKorop avatar Apr 25 '19 08:04 PovilasKorop

ok. no problem. regards

kolydart avatar Apr 25 '19 08:04 kolydart