1
I am implementing a Rest API in Java using the framework Spark. I need to split the routes into two versions or more: v1
and v2
. I know the Spark provides the path()
, I believe it is not difficult.
My question is on how to perform folder structure based on MVC template.
Note: I commented on Spark because of the context of the framework I’m using.