From 2dabfa02fa6d5a41c6ab10cd5880e15fd188afb3 Mon Sep 17 00:00:00 2001 From: dilanua Date: Fri, 13 May 2016 02:56:15 +0530 Subject: [PATCH] Adding swagger annotations --- .../android/services/operationmgt/OperationMgtService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/operationmgt/OperationMgtService.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/operationmgt/OperationMgtService.java index 8c0cc0ff6..2613d641a 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/operationmgt/OperationMgtService.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/operationmgt/OperationMgtService.java @@ -86,7 +86,7 @@ public interface OperationMgtService { notes = "Request location coordinates of Android devices", response = String.class) @ApiResponses(value = { - @ApiResponse(code = 201, message = "Requested Device Coordinates"), + @ApiResponse(code = 200, message = "Requested Device Coordinates"), @ApiResponse(code = 500, message = "Issue in retrieving device management service instance")}) Response getDeviceLocation(@ApiParam(name = "acceptHeader", value = "Accept Header") @HeaderParam(ACCEPT) String acceptHeader, @ApiParam(name = "deviceIDs",