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.io.Serializable;
import java.util.List; import java.util.List;
@ApiModel(value = "Permission List") @ApiModel(value = "PermissionList")
public class PermissionList implements Serializable { public class PermissionList implements Serializable {
private List<String> permissions; private List<String> permissions;

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

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

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

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

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

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

Loading…
Cancel
Save