diff --git a/dateroad-api/src/main/java/org/dateroad/config/SwaggerConfig.java b/dateroad-api/src/main/java/org/dateroad/config/SwaggerConfig.java index f739542..55c3a7f 100644 --- a/dateroad-api/src/main/java/org/dateroad/config/SwaggerConfig.java +++ b/dateroad-api/src/main/java/org/dateroad/config/SwaggerConfig.java @@ -1,8 +1,10 @@ package org.dateroad.config; +import io.swagger.v3.oas.annotations.OpenAPIDefinition; import io.swagger.v3.oas.annotations.enums.SecuritySchemeIn; import io.swagger.v3.oas.annotations.enums.SecuritySchemeType; import io.swagger.v3.oas.annotations.security.SecurityScheme; +import io.swagger.v3.oas.annotations.servers.Server; import io.swagger.v3.oas.models.OpenAPI; import io.swagger.v3.oas.models.info.Info; import java.util.ArrayList; @@ -18,6 +20,16 @@ bearerFormat = "JWT", scheme = "Bearer" ) +@OpenAPIDefinition( + info = @io.swagger.v3.oas.annotations.info.Info( + title = "SOPT APP Team API", + version = "v2", + description = "SOPT 공식 앱팀 API입니다." + ), + servers= { + @Server(url = "${app.base.url}") + } +) @Configuration public class SwaggerConfig {