-
Notifications
You must be signed in to change notification settings - Fork 1
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
[FEAT] 파일 PreSigned-Url 발급 API 개발 #119
Conversation
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.
review 남겼습니다~!
@ApiResponse(responseCode = "500", description = "서버 오류", content = @Content) | ||
} | ||
) | ||
@PostMapping("/files/presigned") |
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.
p3;
presigined-url 발급 자체가 서버 리소스의 변화를 일으키지는 않는 것 같은데 POST보다는 GET 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의 정신 !!!!!
} | ||
) | ||
@PostMapping("/files/presigned") | ||
@ResponseStatus(HttpStatus.OK) |
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.
p2;
statusCode와 @ResponseStatus
가 일치하지 않습니다~!
private String url; | ||
|
||
@Schema(description = "파일 사이즈", example = "2.1") | ||
private Double size; |
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.
p4;
file size에 Double을 사용하신 이유가 있는지 궁금합니다!
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.
확인 ! KB 기준으로 int로 바꾸겠습니다 !
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.
확인완료우 수고하셧슴다!!
📝 Summary
👩💻 Contents
📝 Review Note
📣 Related Issue
📬 Reference