From ca0624995db6e18836d3f547adcc23d6a350b427 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Wed, 10 Apr 2024 05:05:02 -0400 Subject: [PATCH] Update Swagger servers --- src/main/java/me/braydon/mc/RESTfulMC.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/braydon/mc/RESTfulMC.java b/src/main/java/me/braydon/mc/RESTfulMC.java index 26e1dd3..75a9992 100644 --- a/src/main/java/me/braydon/mc/RESTfulMC.java +++ b/src/main/java/me/braydon/mc/RESTfulMC.java @@ -29,6 +29,7 @@ import io.swagger.v3.oas.annotations.OpenAPIDefinition; import io.swagger.v3.oas.annotations.info.Contact; import io.swagger.v3.oas.annotations.info.Info; import io.swagger.v3.oas.annotations.info.License; +import io.swagger.v3.oas.annotations.servers.Server; import lombok.NonNull; import lombok.SneakyThrows; import lombok.extern.slf4j.Slf4j; @@ -52,7 +53,7 @@ import java.util.Objects; version = "1.0.0", contact = @Contact(name = "Braydon (Rainnny)", url = "https://rainnny.club", email = "braydonrainnny@gmail.com"), license = @License(name = "MIT License", url = "https://opensource.org/license/MIT") -)) +), servers = @Server(url = "https://mc.rainnny.club", description = "Production Server")) public class RESTfulMC { public static final Gson GSON = new GsonBuilder() .setDateFormat("MM-dd-yyyy HH:mm:ss")