Removed hardcoded device types in swagger docs

revert-70aa11f8
charitha 8 years ago
parent 56e4dfd743
commit 3cf797fba6

@ -321,9 +321,8 @@ public interface DeviceManagementService {
Response getDevice(
@ApiParam(
name = "type",
value = "The device type, such as ios, android or windows.",
required = true,
allowableValues = "android, ios, windows")
value = "The device type name, such as ios, android, windows or fire-alarm.",
required = true)
@PathParam("type")
@Size(max = 45)
String type,
@ -556,9 +555,8 @@ public interface DeviceManagementService {
Response getFeaturesOfDevice(
@ApiParam(
name = "type",
value = "The device type, such as ios, android or windows.",
required = true,
allowableValues = "android, ios, windows")
value = "The device type name, such as ios, android, windows or fire-alarm.",
required = true)
@PathParam("type")
@Size(max = 45)
String type,
@ -723,9 +721,8 @@ public interface DeviceManagementService {
Response getInstalledApplications(
@ApiParam(
name = "type",
value = "The device type, such as ios, android or windows.",
required = true,
allowableValues = "android, ios, windows")
value = "The device type name, such as ios, android, windows or fire-alarm.",
required = true)
@PathParam("type")
@Size(max = 45)
String type,
@ -825,9 +822,8 @@ public interface DeviceManagementService {
Response getDeviceOperations(
@ApiParam(
name = "type",
value = "The device type, such as ios, android or windows.",
required = true,
allowableValues = "android, ios, windows")
value = "The device type name, such as ios, android, windows or fire-alarm.",
required = true)
@PathParam("type")
@Size(max = 45)
String type,
@ -936,9 +932,8 @@ public interface DeviceManagementService {
Response getEffectivePolicyOfDevice(
@ApiParam(
name = "type",
value = "The device type, such as ios, android or windows.",
required = true,
allowableValues = "android, ios, windows")
value = "The device type name, such as ios, android, windows or fire-alarm.",
required = true)
@PathParam("type")
@Size(max = 45)
String type,

@ -192,9 +192,8 @@ public interface DeviceTypeManagementService {
Response getFeatures(
@ApiParam(
name = "type",
value = "The device type, such as ios, android or windows.",
required = true,
allowableValues = "android, ios, windows")
value = "The device type name, such as ios, android, windows or fire-alarm.",
required = true)
@PathParam("type")
@Size(max = 45)
String type,

@ -672,9 +672,8 @@ public interface PolicyManagementService {
Response getEffectivePolicy(
@ApiParam(
name = "deviceType",
value = "The device type, such as ios, android or windows.",
required = true,
allowableValues = "android, ios, windows")
value = "The device type name, such as ios, android, windows or fire-alarm.",
required = true)
@PathParam("deviceType")
@Size(max = 45)
String deviceType,

@ -136,9 +136,8 @@ public interface DeviceManagementAdminService {
String name,
@ApiParam(
name = "type",
value = "The type of the device, such as android, ios or windows.",
required = true,
allowableValues = "android, ios, windows")
value = "The device type name, such as ios, android, windows or fire-alarm.",
required = true)
@QueryParam("type")
@Size(min = 2, max = 45)
String type,

Loading…
Cancel
Save