Adding swagger annotations

revert-dabc3590
dilanua 9 years ago
parent f66aad9e0e
commit 2dabfa02fa

@ -86,7 +86,7 @@ public interface OperationMgtService {
notes = "Request location coordinates of Android devices", notes = "Request location coordinates of Android devices",
response = String.class) response = String.class)
@ApiResponses(value = { @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")}) @ApiResponse(code = 500, message = "Issue in retrieving device management service instance")})
Response getDeviceLocation(@ApiParam(name = "acceptHeader", value = "Accept Header") Response getDeviceLocation(@ApiParam(name = "acceptHeader", value = "Accept Header")
@HeaderParam(ACCEPT) String acceptHeader, @ApiParam(name = "deviceIDs", @HeaderParam(ACCEPT) String acceptHeader, @ApiParam(name = "deviceIDs",

Loading…
Cancel
Save