From a35aae3f3683c597498e11e9a494e2130facb487 Mon Sep 17 00:00:00 2001 From: Te___ho <54144849+Te-H0@users.noreply.github.com> Date: Mon, 28 Oct 2024 14:53:21 +0900 Subject: [PATCH] =?UTF-8?q?[#471]=20refactor:=20swagger=20https=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/jeju/nanaland/global/config/SwaggerConfig.java | 3 +++ 1 file changed, 3 insertions(+) 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 1184e77b..d1b2dfaa 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; @@ -10,6 +12,7 @@ import org.springframework.context.annotation.Configuration; @Configuration +@OpenAPIDefinition(servers = {@Server(url = "https://nanaland.site")}) public class SwaggerConfig { @Value("${springdoc.version}")