User Service api prefix 수정(api/v1/users/*)
This commit is contained in:
parent
34df9c3b8f
commit
1168ba2d1d
@ -46,7 +46,7 @@ public class SecurityConfig {
|
|||||||
.sessionManagement(session -> session.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
|
.sessionManagement(session -> session.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
|
||||||
.authorizeHttpRequests(auth -> auth
|
.authorizeHttpRequests(auth -> auth
|
||||||
// Public endpoints
|
// Public endpoints
|
||||||
.requestMatchers("/users/register", "/users/login").permitAll()
|
.requestMatchers("/api/v1/users/register", "/api/v1/users/login").permitAll()
|
||||||
// Actuator endpoints
|
// Actuator endpoints
|
||||||
.requestMatchers("/actuator/**").permitAll()
|
.requestMatchers("/actuator/**").permitAll()
|
||||||
// Swagger UI endpoints
|
// Swagger UI endpoints
|
||||||
|
|||||||
@ -31,7 +31,7 @@ import org.springframework.web.bind.annotation.*;
|
|||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/users")
|
@RequestMapping("/api/v1/users")
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@Tag(name = "User", description = "사용자 인증 및 프로필 관리 API")
|
@Tag(name = "User", description = "사용자 인증 및 프로필 관리 API")
|
||||||
public class UserController {
|
public class UserController {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user