Hi,
Im looking to separate out my complex API structure so that I have the following structure. I am wondering. Is there a way to mount all files under the users/ folder to the same ./api/v1/users route? And the same for projects/ ? This becomes a bigger problem when I have dynamic paths under one of these as well.
In shiny, to accomplish something like this Id use source('file.R', local=TRUE) but in this case plumber must source the mounted files differently.
The reason I am structuring it this way is to reduce complexity during development (as opposed to adding multiple verbs to the same endpoint).
+-- v1/
|+-- users/
|+----- GET.R
|+----- POST.R
|+-- projects/
|+----- GET.R
|+----- POST.R
Referred here by rstudio/plumber