-
Notifications
You must be signed in to change notification settings - Fork 20
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: 맵별 공지사항 보여주는 기능 추가 #821
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.
구우욷!
@Description("100자 이상 공지사항이 들어오면 예외를 반환한다.") | ||
void noticeLengthOverSizeLimit() { | ||
NoticeCreateRequest noticeCreateRequest = new NoticeCreateRequest( | ||
"iamtenwordiamtenwordiamtenwordiamtenwordiamtenwordiamtenwordiamtenwordiamtenwordiamtenwordiamtenword1"); |
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.
ㅋㅋㅋㅋㅋㅋㅋ
@PostMapping("/{mapId}/notice") | ||
public ResponseEntity<Void> createNotice( | ||
@PathVariable final Long mapId, | ||
@RequestBody final NoticeCreateRequest noticeCreateRequest, |
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.
@RequestBody final NoticeCreateRequest noticeCreateRequest, | |
@Valid @RequestBody final NoticeCreateRequest noticeCreateRequest, |
🤔
final String slackUrl, | ||
final String notice, |
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.
수고하셨습니다 ~ 💯
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.
수고하셨습니다~
@Getter | ||
@NoArgsConstructor | ||
public class NoticeCreateRequest { | ||
@Size(max = 100, message = DESCRIPTION_MESSAGE) |
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.
Max 100인데 lob이네용
별 상관은 없겠지만~
구현 기능
Close #811 #818