Spring MVC Map Request Body to Primitive Type
Response<Boolean> isHighRikStress(
@AuthenticationPrincipal Patient patient,
@RequestBody List<Integer> rrList
) {
return Response.ok(biometricService.isHighRikStress(patient, rrList));
}