To map REST routes (and other use cases) we need an enhancer for to map on controller methods based on the HTTP method.
The related discussion can be found: here There is also an example implementation mentioned or can be found here
The enhancer should be available in the bundle too.