mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Removed hardcoded device types in swagger docs
This commit is contained in:
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…
Reference in New Issue
Block a user