-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Refactor] #29 Swagger 코드 스타일과 패키지 네이밍 컨벤션을 맞춰 보아요 #30
Conversation
Controller를 구현체로 Interface를 만들어 명세를 작성하는 스타일 채택
HttpServletRequest request, | ||
@RequestParam(name = "influencer", required = false) List<String> influencers, | ||
@ModelAttribute VideoSearchParams searchParams, | ||
@RequestParam(defaultValue = "0", required = false) int page, | ||
@RequestParam(defaultValue = "10", required = false) int 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.
이거 잘 되나요??? 여기서 선언했을 때 잘 되는지 확인한번만 하고 알려주시면 감사하겠습니다.
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.
아직 데이터가 들어간게 없어서 로직은 잘 모르겠는데, 포스트맨으로 API 요청했을때는 오류 안나고 잘되었습니다
클래스에 정의된 상수 사용을 static import 방식으로 변경
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.
코드 컨벤션 신경써주세요! 다른건 다 괜찮은 것 같네요!
@@ -19,15 +18,11 @@ | |||
@RestController | |||
@RequiredArgsConstructor | |||
@RequestMapping("/videos") | |||
public class VideoController { | |||
public class VideoController implements VideoControllerApiSpec{ |
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.
사소하지만 코드 컨벤션에 어긋나요!
✨ 작업 내용
✨ 참고 사항
⏰ 현재 버그
✏ Git Close