healchow commented on code in PR #7944: URL: https://github.com/apache/inlong/pull/7944#discussion_r1179053366
########## inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/controller/InlongGroupController.java: ########## @@ -88,9 +90,12 @@ public Response<InlongGroupInfo> get(@PathVariable String groupId) { @RequestMapping(value = "/group/countByStatus", method = RequestMethod.GET) @ApiOperation(value = "Count inlong group status for current user") - public Response<InlongGroupCountResponse> countGroupByUser() { + @ApiImplicitParams({ + @ApiImplicitParam(name = "lightweight", dataTypeClass = Integer.class, required = true) Review Comment: Please do not add `required = true`, and suggest adding one default value. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org