Combine @PathParam with @RequestBody [SPR-14149] #18721
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
Suresh opened SPR-14149 and commented
xpI am using spring boot as RESTFul service. I have a requirement to combine
@PathParam
value with@RequestBody
POJO.The reason is, I am using hibernate validator to validate the POJO. I can manually merge
@PathParam
values in Controller class but the hibernate validator is called before the merge happens.*Example:
I have a POJO as defined below.
Resource class as defined below:
No further details from SPR-14149
The text was updated successfully, but these errors were encountered: