Skip to content

Commit

Permalink
[fix] project url 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yourzinc committed Jun 28, 2023
1 parent f38bf78 commit 28918e1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class ProjectController {
private final ProjectService projectService;

@Operation(summary = "프로젝트 목록 보기")
@GetMapping("/")
@GetMapping
public GetProjectsResponse getProjects(@RequestParam("pageNum") int pageNum,
@RequestParam("limit") int limit) {
log.info("프로젝트 목록 보기");
Expand All @@ -38,14 +38,14 @@ public GetProjectResponse getProject(
}

@Operation(summary = "프로젝트 생성하기")
@PostMapping("/")
@PostMapping
public void createProject(@RequestBody @Valid ProjectRequest projectRequest) {
log.info("프로젝트 생성하기");
projectService.createProject(projectRequest);
}

@Operation(summary = "프로젝트 수정하기")
@PatchMapping("/")
@PatchMapping
public void updateProject(@RequestParam("id") Long projectId,
@RequestBody @Valid ProjectRequest projectRequest) {
log.info("프로젝트 수정하기");
Expand Down

0 comments on commit 28918e1

Please sign in to comment.