diff --git a/src/main/java/team9502/sinchulgwinong/global/config/SwaggerConfig.java b/src/main/java/team9502/sinchulgwinong/global/config/SwaggerConfig.java index 14c63ca..2f688ec 100644 --- a/src/main/java/team9502/sinchulgwinong/global/config/SwaggerConfig.java +++ b/src/main/java/team9502/sinchulgwinong/global/config/SwaggerConfig.java @@ -3,6 +3,7 @@ import io.swagger.v3.oas.models.OpenAPI; import io.swagger.v3.oas.models.info.Contact; import io.swagger.v3.oas.models.info.Info; +import io.swagger.v3.oas.models.servers.Server; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @@ -11,6 +12,10 @@ public class SwaggerConfig { @Bean public OpenAPI customOpenAPI() { + + Server server = new Server(); + server.setUrl("https://www.sinchulgwinong.site/"); + return new OpenAPI() .info(new Info() .title("신출귀농 API 문서")