My code is like this
public ReturnResult payDetail(DetailParam detailParam, BindingResult
bindingResult) {
return null;
}
and this is just fine for my project , "detailParam" is identified as a param
object ,it contains seviral simple
params like "name","ags" etc.
But when I used @Valid
public ReturnResult payDetail(@Valid DetailParam detailParam, BindingResult
bindingResult) {
return null;
}
"detailParam" is identified as a single param which just named "detailParam" .
What shall I do to fix this?
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.