I want to create an endpoint similar to this:
POST /someresource:validate
Based on Google API Guideliness for custom methods.
But when I add it I get this error:
Exception in thread "main" java.lang.IllegalArgumentException: pathPattern: /someresource:validate (invalid pattern)
I think this happens because of Path Pattern syntax. Is there a way to configure so we can disable some syntax options so we can use :
inside url names? Or is there another way.
Unfortunately, I think the best workaround is to do something like the following for now:
I would expect something like the following to work, but it seems like there is a bug internally.
I've filed an issue for this. https://github.com/line/armeria/issues/4577