Open
Description
Hi,
Processing the following Spring MVC controller operation results in a "body" parameter with "required: false":
public void addObject(@ApiParam(value = "Object to add") @RequestBody Object theObject)
However, @RequestBody is by default required if the 'required' attribute is not specified. Shouldn't the body parameter in the Swagger JSON be required too, then?
Regards,
Bruno
Metadata
Metadata
Assignees
Labels
No labels