I can get a map of all query params like so:
String example(@RequestParam Map<String, String> queryParams)
Is there a way to get a map of all the path variables?
I can get a map of all query params like so:
String example(@RequestParam Map<String, String> queryParams)
Is there a way to get a map of all the path variables?
this should work:
String example(@PathVariable Map<String, String> pathVariables)