package com.knubisoft.api.spec.swagger;
import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.enums.SecuritySchemeType;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.security.SecurityScheme;
import io.swagger.v3.oas.annotations.servers.Server;
import io.swagger.v3.oas.annotations.servers.ServerVariable;
import org.springframework.context.annotation.Configuration;
import javax.annotation.Generated;
@Configuration
@OpenAPIDefinition(info =
@Info(title = "Java Backend Template API",
version = "0.0.1",
description = "Rest API based on java which provides read/write/delete/search operations for JBT project"),
servers = {
@Server(url = "http://localhost:{port}/",
description = "The local API server",
variables = {
@ServerVariable(name = "port",
defaultValue = "8073",
description = "",
allowableValues = {"8073"})
}
)
}
)
@SecurityScheme(
name = "JWTAuth",
type = SecuritySchemeType.HTTP,
bearerFormat = "JWT",
scheme = "bearer"
)
@Generated(value = "com.knubisoft.api.generator.Main", date = "2023-07-12T09:23:06.923561Z")
public class SwaggerConfiguration {
} |