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

How to keep more than one version of APIs?

Open DesmondPang opened this issue 9 years ago • 1 comments

I tried to create another generator.php file in config folder and changed the version from v1 to v2 and then published but it failed. It seems that the 'api_version' is only designed for identifying the updates of the API but not for separating different set of APIs running at the same time.

DesmondPang avatar Aug 22 '15 00:08 DesmondPang

generator will always take config/generator.php. you can not have more than one version. I am adding this thing in backlog and will think about that in future.

mitulgolakiya avatar Sep 02 '15 03:09 mitulgolakiya