fixing validation issue

merge-requests/1/head
hasuniea 9 years ago
parent 7a023c0fab
commit 53063284d0

@ -23,6 +23,7 @@ import org.wso2.carbon.device.mgt.common.configuration.mgt.PlatformConfiguration
import org.wso2.carbon.mdm.services.android.bean.AndroidPlatformConfiguration;
import org.wso2.carbon.mdm.services.android.exception.AndroidAgentException;
import javax.validation.Valid;
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
@ -126,7 +127,7 @@ public interface DeviceTypeConfigurationService {
Response updateConfiguration(
@ApiParam(name = "configuration",
value = "AndroidPlatformConfiguration")
AndroidPlatformConfiguration androidPlatformConfiguration);
@Valid AndroidPlatformConfiguration androidPlatformConfiguration);
@GET
@Path("license")

Loading…
Cancel
Save