diff --git a/src/main/java/com/soongsil/CoffeeChat/CoffeeChatApplication.java b/src/main/java/com/soongsil/CoffeeChat/CoffeeChatApplication.java index 49b0b93..509e1b9 100644 --- a/src/main/java/com/soongsil/CoffeeChat/CoffeeChatApplication.java +++ b/src/main/java/com/soongsil/CoffeeChat/CoffeeChatApplication.java @@ -3,6 +3,15 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import io.swagger.v3.oas.annotations.OpenAPIDefinition; +import io.swagger.v3.oas.annotations.servers.Server; + +@OpenAPIDefinition( + servers = { + @Server(url = "https://cogo.run", description = "Production server"), + @Server(url = "http://localhost:8080", description = "Local development server") + } +) @SpringBootApplication public class CoffeeChatApplication {