-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LINKER-99] Token기반 인증 FIlter 설정 추가 (#31)
* [LINKER-X] fix: 회원가입 API 삭제 * [LINKER-X] feat: Filter 설정
- Loading branch information
Showing
7 changed files
with
56 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 1 addition & 14 deletions
15
core-api/src/main/java/com/imlinker/coreapi/core/auth/controller/AuthController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,10 @@ | ||
package com.imlinker.coreapi.core.auth.controller; | ||
|
||
import com.imlinker.coreapi.core.auth.controller.request.SignUpRequest; | ||
import com.imlinker.coreapi.support.response.ApiResponse; | ||
import com.imlinker.enums.OperationResult; | ||
import io.swagger.v3.oas.annotations.Operation; | ||
import io.swagger.v3.oas.annotations.tags.Tag; | ||
import org.springframework.web.bind.annotation.PostMapping; | ||
import org.springframework.web.bind.annotation.RequestBody; | ||
import org.springframework.web.bind.annotation.RequestMapping; | ||
import org.springframework.web.bind.annotation.RestController; | ||
|
||
@RestController | ||
@RequestMapping("/api/v1/auth") | ||
@Tag(name = "Auth API", description = "인증 관련 API") | ||
public class AuthController { | ||
|
||
@PostMapping("/sign-up") | ||
@Operation(summary = "회원가입 하기") | ||
public ApiResponse<OperationResult> signUp(@RequestBody SignUpRequest request) { | ||
return ApiResponse.success(OperationResult.SUCCESS); | ||
} | ||
} | ||
public class AuthController {} |
12 changes: 0 additions & 12 deletions
12
core-api/src/main/java/com/imlinker/coreapi/core/auth/controller/request/SignUpRequest.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters