Open huang-xuan opened 5 years ago
{ "code": 0, "data": { "cancel_fee_detail": [], "booking_cancel_fee_detail": [], "drivers": [], "bookings": [], "polling_state": 2, "polling_count": "1", "next": 10 }, "message": "成功" }
如果第三方的无法控制显示的描述的话,建议自己定义一个对象,这个对象里面的字段跟第三方的字段保持一致,并写上注释;然后再response指定你的 @ApiOperation(response = YourObj.class)
{ "code": 0, "data": { "cancel_fee_detail": [], "booking_cancel_fee_detail": [], "drivers": [], "bookings": [], "polling_state": 2, "polling_count": "1", "next": 10 }, "message": "成功" }