public interface SwaggerUiSupport
Modifier and Type | Interface and Description |
---|---|
static class |
SwaggerUiSupport.Registration
Holds the resources and/or providers which are required for
Swagger UI integration to be plugged in.
|
Modifier and Type | Field and Description |
---|---|
static String |
SUPPORT_UI_PROPERTY |
Modifier and Type | Method and Description |
---|---|
default boolean |
checkSupportSwaggerUiProp(Properties props)
Checks the Swagger properties to determine if Swagger UI support is available or not.
|
String |
findSwaggerUiRoot()
Detects the Swagger UI in root with respect to properties and configuration
provided.
|
default SwaggerUiSupport.Registration |
getSwaggerUi(Bus bus,
Properties swaggerProps,
boolean runAsFilter)
Detects the presence of Swagger UI in classpath with respect to properties and
configuration provided.
|
SwaggerUiConfig |
getSwaggerUiConfig()
Returns Swagger UI configuration parameters.
|
Map<String,String> |
getSwaggerUiMediaTypes()
Returns media types supported by Swagger UI
|
Boolean |
isSupportSwaggerUi()
Checks if Swagger UI support is available or not.
|
static final String SUPPORT_UI_PROPERTY
default SwaggerUiSupport.Registration getSwaggerUi(Bus bus, Properties swaggerProps, boolean runAsFilter)
bus
- bus instanceswaggerProps
- Swagger properties (usually externalized)runAsFilter
- "true" if Swagger integration is run as a filter, "false" otherwise.default boolean checkSupportSwaggerUiProp(Properties props)
props
- Swagger properties (usually externalized)Boolean isSupportSwaggerUi()
String findSwaggerUiRoot()
Map<String,String> getSwaggerUiMediaTypes()
SwaggerUiConfig getSwaggerUiConfig()
Apache CXF