Skip to content

Commit

Permalink
fix : api path 변경겸 spotless Test(#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jifrozen0110 committed Dec 22, 2023
1 parent 1a4238a commit 42bc212
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

@RestController
@RequiredArgsConstructor
@RequestMapping("api/develop/")
@RequestMapping("api/develop/v1")
public class DevelopController {

@GetMapping("v1/bad-request")
@GetMapping("/bad-request")
public ResponseEntity<Object> test400Error() {
try {
throw new CustomException(HttpStatus.BAD_REQUEST, ErrorCode.INVALID_PASSWORD);
Expand All @@ -23,7 +23,7 @@ public ResponseEntity<Object> test400Error() {
}
}

@GetMapping("v1/unauthorized")
@GetMapping("/unauthorized")
public ResponseEntity<Object> test401Error() {
try {
throw new CustomException(HttpStatus.UNAUTHORIZED, ErrorCode.EXPIRED_TOKEN);
Expand Down

0 comments on commit 42bc212

Please sign in to comment.