diff --git a/server/src/main/java/org/cecd/server/external/SwaggerConfig.java b/server/src/main/java/org/cecd/server/external/SwaggerConfig.java index c1d9d33..0f8a864 100644 --- a/server/src/main/java/org/cecd/server/external/SwaggerConfig.java +++ b/server/src/main/java/org/cecd/server/external/SwaggerConfig.java @@ -1,11 +1,21 @@ package org.cecd.server.external; +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; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; +@OpenAPIDefinition( + servers = { + @Server(url = "https://www.dgu1921.p-e.kr", description = "Dev Server"), + @Server(url = "http://localhost:8080", description = "Local Server") + } +) + + @Configuration public class SwaggerConfig {