See code in gist: https://gist.github.com/C06A/e80b783a1d34cc9d80e339da0d7b5b53
This is a small sample project I try to make with Micronaut in Kotlin.
Unfortunately the only parameters binding I was able to do as in the code. They require the pattern in the template and typed as String. However I would like to be able to do something like in comments. So there won't be a pattern in the template and types as Number and List (or Array would work as well).
Is it possible to do that and why it doesn't work for me?