Annotation Type RequestBody
Binds the decoded request body to this parameter.
The body is decoded to the parameter's declared type using the generated codec for it, so a controller receives its own type rather than a Map.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhether a request with no body is rejected.
-
Element Details
-
required
boolean requiredWhether a request with no body is rejected.- Default:
true
-