Open
Description
Just a wild idea. How about allowing routing like get("path", ::someMethod)
and the parameters of that method are annotated the same way the fields of parameter classes are now annotated.
That way you don't have to declare a class for just one or two simple parameters and you get a very natural looking routing style.
Also this would be quite familiar to users of springfox.