MVC Architecture of Routes and Controllers with several versions using Spark

1

I'm implementing a Rest API in Java using the framework Spark . I need to split the routes into two or more versions: v1 and v2 . I know Spark supplies path() , I believe it's not hard.

My question is how to perform folder structure based on the MVC template.

Note: I mentioned Spark because of the contextualisation of the framework I'm using.

    
asked by anonymous 14.09.2018 / 16:01

0 answers