From 0f4e4ea4831dee95645b910c345b6d56cfdb5551 Mon Sep 17 00:00:00 2001 From: nishadi Date: Wed, 17 Jan 2018 11:18:24 +0530 Subject: [PATCH] Modify CommentManagementAPI add "defaultValue" parameter here in the ApiParams --- .../application/mgt/api/services/CommentManagementAPI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/java/org/wso2/carbon/device/application/mgt/api/services/CommentManagementAPI.java b/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/java/org/wso2/carbon/device/application/mgt/api/services/CommentManagementAPI.java index ac80295ad0..baccd8132f 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/java/org/wso2/carbon/device/application/mgt/api/services/CommentManagementAPI.java +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.api/src/main/java/org/wso2/carbon/device/application/mgt/api/services/CommentManagementAPI.java @@ -129,13 +129,13 @@ public interface CommentManagementAPI { String uuid, @ApiParam( name="offSet", - value="Starting comment number.", + value="Starting comment number.",defaultValue = "1", required = false) @QueryParam("offSet") int offSet, @ApiParam( name="limit", - value = "Limit of paginated comments", + value = "Limit of paginated comments",defaultValue = "20", required = false) @QueryParam("limit") int limit);