diff --git a/src/main/java/com/jeju/nanaland/global/config/SwaggerConfig.java b/src/main/java/com/jeju/nanaland/global/config/SwaggerConfig.java index 67e82395..1c720685 100644 --- a/src/main/java/com/jeju/nanaland/global/config/SwaggerConfig.java +++ b/src/main/java/com/jeju/nanaland/global/config/SwaggerConfig.java @@ -1,5 +1,7 @@ package com.jeju.nanaland.global.config; +import io.swagger.v3.oas.annotations.OpenAPIDefinition; +import io.swagger.v3.oas.annotations.servers.Server; import io.swagger.v3.oas.models.Components; import io.swagger.v3.oas.models.OpenAPI; import io.swagger.v3.oas.models.info.Info; @@ -11,6 +13,7 @@ import org.springframework.context.annotation.Configuration; @Configuration +@OpenAPIDefinition(servers = {@Server(url = "https://nanaland.site")}) public class SwaggerConfig { @Value("${springdoc.version}")