forked from Archives/Athou_commafeed
19 lines
873 B
Java
19 lines
873 B
Java
package com.commafeed.frontend.resource;
|
|
|
|
import jakarta.ws.rs.core.Application;
|
|
|
|
import org.eclipse.microprofile.openapi.annotations.OpenAPIDefinition;
|
|
import org.eclipse.microprofile.openapi.annotations.enums.SecuritySchemeType;
|
|
import org.eclipse.microprofile.openapi.annotations.info.Info;
|
|
import org.eclipse.microprofile.openapi.annotations.security.SecurityRequirement;
|
|
import org.eclipse.microprofile.openapi.annotations.security.SecurityScheme;
|
|
import org.eclipse.microprofile.openapi.annotations.servers.Server;
|
|
|
|
@OpenAPIDefinition(
|
|
info = @Info(title = "CommaFeed API", version = "1.0.0"),
|
|
servers = { @Server(description = "CommaFeed API", url = "/") },
|
|
security = { @SecurityRequirement(name = "basicAuth") })
|
|
@SecurityScheme(securitySchemeName = "basicAuth", type = SecuritySchemeType.HTTP, scheme = "basic")
|
|
public class OpenAPI extends Application {
|
|
}
|