mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
generate a nicer url in documentation (/rest instead of /openapi/../rest)
This commit is contained in:
@@ -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 = "rest") },
|
||||
security = { @SecurityRequirement(name = "basicAuth") })
|
||||
@SecurityScheme(name = "basicAuth", type = SecuritySchemeType.HTTP, scheme = "basic")
|
||||
public class OpenAPI {
|
||||
|
||||
Reference in New Issue
Block a user