All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
static Properties |
combine(Properties primary,
Properties secondary) |
io.swagger.v3.jaxrs2.integration.resources.BaseOpenApiResource |
createOpenApiResource() |
String |
findSwaggerUiRoot()
Detects the Swagger UI in root with respect to properties and configuration
provided.
|
String |
getConfigLocation() |
String |
getContactEmail() |
String |
getContactName() |
String |
getContactUrl() |
OpenApiCustomizer |
getCustomizer() |
String |
getDescription() |
String |
getFilterClass() |
Collection<String> |
getIgnoredRoutes() |
io.swagger.v3.oas.models.info.Info |
getInfo(Properties properties) |
String |
getLicense() |
String |
getLicenseUrl() |
Boolean |
getOrFallback(Boolean value,
Properties properties,
String property) |
Set<String> |
getOrFallback(Set<String> collection,
Properties properties,
String property) |
String |
getOrFallback(String value,
Properties properties,
String property) |
String |
getPropertiesLocation() |
Set<String> |
getResourceClasses() |
Set<String> |
getResourcePackages() |
String |
getScannerClass() |
Map<String,io.swagger.v3.oas.models.security.SecurityScheme> |
getSecurityDefinitions() |
SwaggerUiConfig |
getSwaggerUiConfig()
Returns Swagger UI configuration parameters.
|
String |
getSwaggerUiMavenGroupAndArtifact() |
Map<String,String> |
getSwaggerUiMediaTypes()
Returns media types supported by Swagger UI
|
String |
getSwaggerUiVersion() |
String |
getTermsOfServiceUrl() |
String |
getTitle() |
Properties |
getUserProperties(Map<String,Object> userDefinedOptions) |
String |
getVersion() |
boolean |
isPrettyPrint() |
boolean |
isReadAllResources() |
boolean |
isRunAsFilter() |
boolean |
isScan() |
boolean |
isScanKnownConfigLocations() |
Boolean |
isSupportSwaggerUi()
Checks if Swagger UI support is available or not.
|
boolean |
isUseContextBasedConfig() |
static Optional<io.swagger.v3.oas.models.Components> |
registerComponents(Map<String,io.swagger.v3.oas.models.security.SecurityScheme> securityDefinitions) |
void |
registerOpenApiResources(JAXRSServiceFactoryBean sfb,
Set<String> packages,
io.swagger.v3.oas.integration.api.OpenAPIConfiguration config) |
void |
registerServletConfigProvider(ServerProviderFactory factory) |
void |
registerSwaggerUiResources(JAXRSServiceFactoryBean sfb,
Properties properties,
ServerProviderFactory factory,
Bus bus) |
Collection<String> |
scanResourcePackages(JAXRSServiceFactoryBean sfb) |
void |
setConfigLocation(String configLocation) |
void |
setContactEmail(String contactEmail) |
void |
setContactName(String contactName) |
void |
setContactUrl(String contactUrl) |
void |
setCustomizer(OpenApiCustomizer customizer) |
void |
setDescription(String description) |
void |
setFilterClass(String filterClass) |
void |
setIgnoredRoutes(Collection<String> ignoredRoutes) |
void |
setLicense(String license) |
void |
setLicenseUrl(String licenseUrl) |
static void |
setOrReplace(Properties source,
Properties destination) |
void |
setPrettyPrint(boolean prettyPrint) |
void |
setPropertiesLocation(String propertiesLocation) |
void |
setReadAllResources(boolean readAllResources) |
void |
setResourceClasses(Set<String> resourceClasses) |
void |
setResourcePackages(Set<String> resourcePackages) |
void |
setRunAsFilter(boolean runAsFilter) |
void |
setScan(boolean scan) |
void |
setScanKnownConfigLocations(boolean scanKnownConfigLocations) |
void |
setScannerClass(String scannerClass) |
void |
setSecurityDefinitions(Map<String,io.swagger.v3.oas.models.security.SecurityScheme> securityDefinitions) |
void |
setSupportSwaggerUi(Boolean supportSwaggerUi) |
void |
setSwaggerUiConfig(SwaggerUiConfig swaggerUiConfig) |
void |
setSwaggerUiMavenGroupAndArtifact(String swaggerUiMavenGroupAndArtifact) |
void |
setSwaggerUiMediaTypes(Map<String,String> swaggerUiMediaTypes) |
void |
setSwaggerUiVersion(String swaggerUiVersion) |
void |
setTermsOfServiceUrl(String termsOfServiceUrl) |
void |
setTitle(String title) |
void |
setUseContextBasedConfig(boolean useContextBasedConfig) |
void |
setVersion(String version) |