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?
It looks like the JSON schema doesn't include properties that correspond to the defaultValue and allowableValues properties that are available on the Swagger @ApiParam annotation. Would it be difficult to add them?