로그인 기능 추가
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
package com.kamco.cd.kamcoback.config;
|
||||
|
||||
//@Configuration
|
||||
//@SecurityScheme(
|
||||
// name = "BearerAuth",
|
||||
// type = SecuritySchemeType.HTTP,
|
||||
// scheme = "bearer",
|
||||
// bearerFormat = "JWT"
|
||||
//)
|
||||
import io.swagger.v3.oas.annotations.enums.SecuritySchemeType;
|
||||
import io.swagger.v3.oas.annotations.security.SecurityScheme;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
@SecurityScheme(
|
||||
name = "BearerAuth",
|
||||
type = SecuritySchemeType.HTTP,
|
||||
scheme = "bearer",
|
||||
bearerFormat = "JWT"
|
||||
)
|
||||
public class SwaggerConfig {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user