Hi
@Graeme, sure thing. I did a bit more digging, comparing a controller with a function and found the
AnnotatedFunctionRouteBuilder
controls routing for `@FunctionBean`'s and the
AnnotatedMethodRouteBuilder
controls routing for the
@Controller
. I noticed that the
AnnotatedMethodRouteBuilder
looks up the
@Consumes
annotation and sets accepted media types off the back of that, but no such look up happens within the
AnnotatedFunctionRouteBuilder
. I've read the documentation and seen that
@Consumes
should be usable on all components, not just controllers, so I wasn't sure if there was a specific reason as to why it doesn't seem to work/get picked up on Functions