Fix issues in the swagger related to URLs

merge-requests/921/head
inoshperera 2 years ago
parent 259795a274
commit c14047f913

@ -24,7 +24,7 @@ import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
@ApiModel(value = "Permission List")
@ApiModel(value = "PermissionList")
public class PermissionList implements Serializable {
private List<String> permissions;

@ -24,7 +24,7 @@ import io.swagger.annotations.ApiModelProperty;
import java.util.List;
@ApiModel(value = "User Store List")
@ApiModel(value = "UserStoreList")
public class UserStoreList extends BasePaginatedResult {
private List<String> userStores;

@ -1035,7 +1035,8 @@ public interface DeviceManagementService {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "perm:devices:view")
})
}
},
nickname = "isEnrolledByType"
)
@ApiResponses(
value = {

@ -793,7 +793,8 @@ public interface PolicyManagementService {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "perm:policies:get-details")
})
}
},
nickname = "getPoliciesFilteredByType"
)
@ApiResponses(
value = {

@ -74,7 +74,7 @@ public interface RemoteSessionService {
* Retrieve Analytics for the device type
*/
@GET
@Path("connection/{deviceType}/{deviceId}")
@Path("connect/{deviceType}/{deviceId}")
@ApiOperation(
consumes = "application/json",
produces = "application/json",

@ -471,10 +471,10 @@ public interface ReportManagementService {
})
Response getAppNotInstalledDevices(
@ApiParam(
name = "deviceType",
name = "device-type",
value = "The device type name, such as ios, android, windows, or fire-alarm.",
required = true)
@PathParam("deviceType")
@PathParam("device-type")
String deviceType,
@ApiParam(
name = "package-name",

@ -591,7 +591,8 @@ public interface UserManagementService {
@Extension(properties = {
@ExtensionProperty(name = Constants.SCOPE, value = "perm:users:user-details")
})
}
},
nickname = "getUsersByFilter"
)
@ApiResponses(value = {
@ApiResponse(

Loading…
Cancel
Save