From f62cb4febdf12aef7ed37d0d9435a501debe88aa Mon Sep 17 00:00:00 2001 From: charitha Date: Fri, 16 Mar 2018 01:46:41 +0530 Subject: [PATCH] Add missing media type --- .../device/mgt/jaxrs/service/api/RoleManagementService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/api/RoleManagementService.java b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/api/RoleManagementService.java index b5d8343ade4..bce387f2bfa 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/api/RoleManagementService.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/api/RoleManagementService.java @@ -612,6 +612,8 @@ public interface RoleManagementService { @DELETE @Path("/{roleName}") @ApiOperation( + consumes = MediaType.APPLICATION_JSON, + produces = MediaType.APPLICATION_JSON, httpMethod = "DELETE", value = "Deleting a Role", notes = "Roles become obsolete over time due to various reasons. In a situation where your " +