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 |
licenseWasSet
enabled
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, setVersion
getActive, getID, initialize, initialize, initialize, initializeProvider
isEnabled
protected void calculateDefaultBasePath(Server server)
calculateDefaultBasePath
in class AbstractSwaggerFeature
protected void addSwaggerResource(Server server, Bus bus)
addSwaggerResource
in class AbstractSwaggerFeature
protected 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 AbstractSwaggerFeature
public 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