Skip to content

๐Ÿ”€ :: (#120) ๊ฒŒ์‹œ๊ธ€ ์ž‘์„ฑ API#123

Open
lyutvs wants to merge 6 commits intomainfrom
120-create-feed
Open

๐Ÿ”€ :: (#120) ๊ฒŒ์‹œ๊ธ€ ์ž‘์„ฑ API#123
lyutvs wants to merge 6 commits intomainfrom
120-create-feed

Conversation

@lyutvs
Copy link
Copy Markdown
Collaborator

@lyutvs lyutvs commented Jun 22, 2022

close #120

@lyutvs lyutvs added the ๊ธฐ๋Šฅ ์ถ”๊ฐ€ ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ์š”์ฒญ์„ ๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค. label Jun 22, 2022
@lyutvs lyutvs self-assigned this Jun 22, 2022

@ResponseStatus(HttpStatus.CREATED)
@PostMapping
public void createFeed(@Valid @RequestBody CreateFeedRequest request) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๊ฒƒ๋„ ์ˆœ์„œ๊ฐ€..

@NotBlank(message = "title์€ Null, ๊ณต๋ฐฑ, ๋„์–ด์“ฐ๊ธฐ๋ฅผ ํ—ˆ์šฉํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.")
private String title;

@NotNull(message = "content์€ Null, ๊ณต๋ฐฑ, ๋„์–ด์“ฐ๊ธฐ๋ฅผ ํ—ˆ์šฉํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์–˜๋„ ๋Š”..

@NotNull(message = "feed_type์€ Null์ผ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.")
private FeedType feedType;

@NotNull(message = "category์€ Null์ผ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๊ฑด @notblank

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Jul 6, 2022

Kudos, SonarCloud Quality Gate passed!ย  ย  Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

๊ธฐ๋Šฅ ์ถ”๊ฐ€ ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ์š”์ฒญ์„ ๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

๊ฒŒ์‹œ๊ธ€ ์ž‘์„ฑ API

4 participants