Skip to content

Commit

Permalink
hotfix: Swagger server url 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
TaeyeonRoyce committed Aug 8, 2024
1 parent 1a38c87 commit 410dc06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server-profile-submodule
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import org.springframework.http.HttpMethod.PUT
import org.springframework.web.servlet.config.annotation.CorsRegistry
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer


@Configuration
class CorsConfig : WebMvcConfigurer {
override fun addCorsMappings(registry: CorsRegistry) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import com.celuveat.member.domain.SocialLoginType
import io.swagger.v3.oas.annotations.Operation
import io.swagger.v3.oas.annotations.Parameter
import io.swagger.v3.oas.annotations.enums.ParameterIn
import io.swagger.v3.oas.annotations.security.SecurityRequirement
import io.swagger.v3.oas.annotations.tags.Tag
import jakarta.servlet.http.HttpServletResponse
import org.springframework.http.HttpHeaders
Expand Down Expand Up @@ -61,6 +62,7 @@ interface SocialLoginApi {
response: HttpServletResponse,
)

@SecurityRequirement(name = "JWT")
@Operation(summary = "소셜 회원 탈퇴")
@DeleteMapping("/withdraw/{socialLoginType}")
fun withdraw(
Expand Down

0 comments on commit 410dc06

Please sign in to comment.