public class Swagger2Feature extends AbstractSwaggerFeature
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Swagger2Feature.DefaultApplication |
protected class |
Swagger2Feature.ReaderConfigFilter |
protected static class |
Swagger2Feature.SwaggerContainerRequestFilter |
protected static class |
Swagger2Feature.SwaggerUIResourceFilter |
static class |
Swagger2Feature.SwaggerUIService |
protected static class |
Swagger2Feature.SwaggerUIServiceFilter |
licenseWasSetenabled| Constructor and Description |
|---|
Swagger2Feature() |
getBasePath, getContact, getDescription, getFilterClass, getLicense, getLicenseUrl, getResourcePackage, getTermsOfServiceUrl, getTitle, getVersion, initialize, isActivateOnlyIfJaxrsSupported, isRunAsFilter, setActivateOnlyIfJaxrsSupported, setBasePath, setContact, setDescription, setFilterClass, setLicense, setLicenseUrl, setResourcePackage, setRunAsFilter, setTermsOfServiceUrl, setTitle, setVersiongetActive, getID, initialize, initialize, initialize, initializeProviderisEnabledprotected void calculateDefaultBasePath(Server server)
calculateDefaultBasePath in class AbstractSwaggerFeatureprotected void addSwaggerResource(Server server, Bus bus)
addSwaggerResource in class AbstractSwaggerFeatureprotected boolean checkSupportSwaggerUiProp(Properties props)
protected Properties getSwaggerProperties(Bus bus)
protected void initBeanConfig(BeanConfig beanConfig,
Properties props)
public Boolean isUsePathBasedConfig()
public void setUsePathBasedConfig(Boolean usePathBasedConfig)
public String getHost()
public void setHost(String host)
public String[] getSchemes()
public void setSchemes(String[] schemes)
public Boolean isPrettyPrint()
public void setPrettyPrint(Boolean prettyPrint)
public Swagger2Customizer getCustomizer()
public void setCustomizer(Swagger2Customizer customizer)
public boolean isScanAllResources()
public void setScanAllResources(boolean scanAllResources)
public String getIgnoreRoutes()
public void setIgnoreRoutes(String ignoreRoutes)
protected void setBasePathByAddress(String address)
setBasePathByAddress in class AbstractSwaggerFeaturepublic void setSwaggerUiMavenGroupAndArtifact(String swaggerUiMavenGroupAndArtifact)
swaggerUiMavenGroupAndArtifact - public void setSwaggerUiVersion(String swaggerUiVersion)
public void setSupportSwaggerUi(boolean supportSwaggerUi)
public void setSecurityDefinitions(Map<String,SecuritySchemeDefinition> securityDefinitions)
public String getPropertiesLocation()
public void setPropertiesLocation(String propertiesLocation)
Apache CXF