import com.samsung.samserver.web.rest.service.vm.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Pageable;
+import org.springframework.data.web.PageableDefault;
import org.springframework.http.*;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
* @return the ResponseEntity with status 200 (OK) and the list of devices in body
*/
@Override
- public ResponseEntity<List<UIDevice>> getAllDevices(Pageable pageable) {
+ public ResponseEntity<List<UIDevice>> getAllDevices(@PageableDefault(size = 100) Pageable pageable) {
return getDevicesRestService.getAllDevices(pageable);
}