I'm working with swagger-springfox on version 2.9.2, I encountered a problem with incomplete display of multiple nested objects.
I have a class named AddEntityCaseReq and the structure below. When I visited the swagger-ui.html, there is nothing in the Properties.
I have marked @ApiModel and @ApiModelProperties on each class. Is there anything missing?
This is the class structure
AddEntityCaseReq
├── id
└── List<UploadDocuments> uploadDocuments;
└── Properties
├── id
└── name
This is the controller code
@ResponseBody
@RequestMapping(value = "/addEntityCase", method = RequestMethod.POST)
@ApiOperation(value = "add entity case", notes = "add entity case")
@ApiImplicitParam(name = "addEntityCaseReq", value = "reuqest",
required = true, dataType = "AddEntityCaseReq")
public CommonResp<Boolean> addEntityCase(@RequestBody AddEntityCaseReq addEntityCaseReq) {
return addEntityCase.execute(addEntityCaseReq);
}
swagger model details here
