fix wrong path in documentation

This commit is contained in:
Athou
2024-08-27 08:41:50 +02:00
parent f1b19ebae3
commit f7a4a33f5e

View File

@@ -9,7 +9,7 @@ import io.swagger.v3.oas.annotations.servers.Server;
@OpenAPIDefinition(
info = @Info(title = "CommaFeed API"),
servers = { @Server(description = "CommaFeed API", url = "rest") },
servers = { @Server(description = "CommaFeed API", url = "/") },
security = { @SecurityRequirement(name = "basicAuth") })
@SecurityScheme(name = "basicAuth", type = SecuritySchemeType.HTTP, scheme = "basic")
public class OpenAPI {