fixing the mismatch of swagger annotation and implementation

revert-dabc3590
inoshperera 9 years ago
parent bf1e00f472
commit 6d14133bab

@ -87,11 +87,11 @@ public interface DeviceManagementService {
value = "List of applications that need to be persisted against the device") value = "List of applications that need to be persisted against the device")
List<Application> applications); List<Application> applications);
@GET @PUT
@Path("/{id}/pending-operations") @Path("/{id}/pending-operations")
@ApiOperation( @ApiOperation(
produces = MediaType.APPLICATION_JSON, produces = MediaType.APPLICATION_JSON,
httpMethod = "GET", httpMethod = "PUT",
value = "Get the operation list pending for the device", value = "Get the operation list pending for the device",
responseContainer = "List", responseContainer = "List",
notes = "The Android agent communicates with the server to get the operations that are queued up " + notes = "The Android agent communicates with the server to get the operations that are queued up " +

Loading…
Cancel
Save