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

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

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

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

Loading…
Cancel
Save