Update Swagger servers
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 22s
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 22s
This commit is contained in:
parent
16e15a3dd3
commit
ca0624995d
@ -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.Contact;
|
||||||
import io.swagger.v3.oas.annotations.info.Info;
|
import io.swagger.v3.oas.annotations.info.Info;
|
||||||
import io.swagger.v3.oas.annotations.info.License;
|
import io.swagger.v3.oas.annotations.info.License;
|
||||||
|
import io.swagger.v3.oas.annotations.servers.Server;
|
||||||
import lombok.NonNull;
|
import lombok.NonNull;
|
||||||
import lombok.SneakyThrows;
|
import lombok.SneakyThrows;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
@ -52,7 +53,7 @@ import java.util.Objects;
|
|||||||
version = "1.0.0",
|
version = "1.0.0",
|
||||||
contact = @Contact(name = "Braydon (Rainnny)", url = "https://rainnny.club", email = "braydonrainnny@gmail.com"),
|
contact = @Contact(name = "Braydon (Rainnny)", url = "https://rainnny.club", email = "braydonrainnny@gmail.com"),
|
||||||
license = @License(name = "MIT License", url = "https://opensource.org/license/MIT")
|
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 class RESTfulMC {
|
||||||
public static final Gson GSON = new GsonBuilder()
|
public static final Gson GSON = new GsonBuilder()
|
||||||
.setDateFormat("MM-dd-yyyy HH:mm:ss")
|
.setDateFormat("MM-dd-yyyy HH:mm:ss")
|
||||||
|
Loading…
Reference in New Issue
Block a user