diff --git a/src/main/java/com/fledge/fledgeserver/config/SwaggerConfig.java b/src/main/java/com/fledge/fledgeserver/config/SwaggerConfig.java index ba888a1..0585785 100644 --- a/src/main/java/com/fledge/fledgeserver/config/SwaggerConfig.java +++ b/src/main/java/com/fledge/fledgeserver/config/SwaggerConfig.java @@ -6,6 +6,7 @@ import io.swagger.v3.oas.models.OpenAPI; import io.swagger.v3.oas.models.security.SecurityRequirement; import io.swagger.v3.oas.models.security.SecurityScheme; +import io.swagger.v3.oas.models.servers.Server; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @@ -32,7 +33,7 @@ public OpenAPI openAPI() { .scheme(BEARER_TOKEN_PREFIX) .bearerFormat(securityJwtName)); - return new OpenAPI() + return new OpenAPI().addServersItem(new Server().url("/")) .addSecurityItem(securityRequirement) .components(components); }