diff --git a/src/main/java/com/HowBaChu/howbachu/config/SwaggerConfig.java b/src/main/java/com/HowBaChu/howbachu/config/SwaggerConfig.java index 8ace33d..fab610c 100644 --- a/src/main/java/com/HowBaChu/howbachu/config/SwaggerConfig.java +++ b/src/main/java/com/HowBaChu/howbachu/config/SwaggerConfig.java @@ -1,5 +1,7 @@ package com.HowBaChu.howbachu.config; +import io.swagger.v3.oas.annotations.OpenAPIDefinition; +import io.swagger.v3.oas.annotations.servers.Server; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.builders.ApiInfoBuilder; @@ -11,6 +13,7 @@ @EnableSwagger2 @Configuration +@OpenAPIDefinition(servers = {@Server(url = "http://howbachu.kro.kr", description = "HowBaChu API Server")}) public class SwaggerConfig { @Bean