Open llTheBlankll opened 3 weeks ago
Example:
public ResponseEntity<?> getAttendanceByStudentId(@PathVariable Long id, @RequestParam Integer page, @RequestParam Integer size, @RequestParam(defaultValue = "ASC") String sortBy, @RequestParam(defaultValue = "date") String order)
Add Request Parameters that will be used for sorting data such as "sortBy" and "order"