vesparny/silex-simple-rest

How is the best way to API versioning ?

jaswdr opened this issue · 2 comments

I look at that the version of the API is fixed in the code, but if I want to have more that one version how can I do ?

You could probably have more routes.
But there are different philosophies about that, you can handle it in different ways:

  • custom routes
  • custom header

thanks for that, in my case I use the custom routes options