-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[041-help-표현계층-수정-및-추가사항] #83
The head ref may contain hidden characters: "041-Help-\uD45C\uD604\uACC4\uCE35-\uC218\uC815-\uBC0F-\uCD94\uAC00\uC0AC\uD56D"
Conversation
MethodArgumentNotValidException.class | ||
}) | ||
public ResponseEntity<ValidationResponse> handleValidationExceptions(MethodArgumentNotValidException ex) { | ||
AtomicInteger i = new AtomicInteger(1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
앗 요기 AtomicInteger가 있군요~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 부분도 수정하겠습니다! #111
import org.springframework.validation.annotation.Validated; | ||
import org.springframework.web.bind.annotation.*; | ||
|
||
@Controller |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오.. @RestController가 아닌데도 아래 registerProgress 응답이 제대로 오나요?
@responsebody 를 추가해주거나 @RestController로 해야 json 응답이 내려갈 것 같아서요(그냥 Controller는 html 리소스를 리턴하므로)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이것도 수정하고 있습니다..!
|
||
private static String APPROVED = "요청자에 의해 인증이 승인 되었습니다."; | ||
|
||
@PostMapping("/approved") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved는 과거형이므로 restAPI uri로 보기엔 애매한 부분이 있습니다. 이 api를 호출할 당시엔 아직 승인되지 않은 상태니까요!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
음.. 저번에 HTTP URI 규칙에 관해서 링크를 주셨었는데 제가 제대로 숙지를 못한 것 같습니다. 이 부분 변경하겠습니다. #46
진행관련 기능들