public static class OpenApiFeature.Portable extends Object implements AbstractPortableFeature, SwaggerUiSupport, SwaggerProperties
SwaggerUiSupport.Registration
SUPPORT_UI_PROPERTY
CONTACT_PROPERTY, DEFAULT_LICENSE_URL, DEFAULT_LICENSE_VALUE, DEFAULT_PROPS_LOCATION, DESCRIPTION_PROPERTY, FILTER_CLASS_PROPERTY, LICENSE_PROPERTY, LICENSE_URL_PROPERTY, PRETTY_PRINT_PROPERTY, RESOURCE_PACKAGE_PROPERTY, TERMS_URL_PROPERTY, TITLE_PROPERTY, VERSION_PROPERTY
Constructor and Description |
---|
Portable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doInitializeProvider, getActive, initialize, initialize, initialize
checkSupportSwaggerUiProp, getSwaggerUi
getSwaggerProperties
public void initialize(Server server, Bus bus)
initialize
in interface AbstractPortableFeature
initialize
in interface Feature
public boolean isScan()
public void setScan(boolean scan)
public String getFilterClass()
public void setFilterClass(String filterClass)
public String getVersion()
public void setVersion(String version)
public String getTitle()
public void setTitle(String title)
public String getDescription()
public void setDescription(String description)
public String getContactName()
public void setContactName(String contactName)
public String getContactEmail()
public void setContactEmail(String contactEmail)
public String getContactUrl()
public void setContactUrl(String contactUrl)
public String getLicense()
public void setLicense(String license)
public String getLicenseUrl()
public void setLicenseUrl(String licenseUrl)
public String getTermsOfServiceUrl()
public void setTermsOfServiceUrl(String termsOfServiceUrl)
public boolean isReadAllResources()
public void setReadAllResources(boolean readAllResources)
public Collection<String> getIgnoredRoutes()
public void setIgnoredRoutes(Collection<String> ignoredRoutes)
public boolean isPrettyPrint()
public void setPrettyPrint(boolean prettyPrint)
public boolean isRunAsFilter()
public Boolean isSupportSwaggerUi()
SwaggerUiSupport
isSupportSwaggerUi
in interface SwaggerUiSupport
public void setSupportSwaggerUi(Boolean supportSwaggerUi)
public String getSwaggerUiVersion()
public void setSwaggerUiVersion(String swaggerUiVersion)
public String getSwaggerUiMavenGroupAndArtifact()
public void setSwaggerUiMavenGroupAndArtifact(String swaggerUiMavenGroupAndArtifact)
public Map<String,String> getSwaggerUiMediaTypes()
SwaggerUiSupport
getSwaggerUiMediaTypes
in interface SwaggerUiSupport
public String getConfigLocation()
public void setConfigLocation(String configLocation)
public String getPropertiesLocation()
public void setPropertiesLocation(String propertiesLocation)
public void setRunAsFilter(boolean runAsFilter)
public void setScanKnownConfigLocations(boolean scanKnownConfigLocations)
public boolean isScanKnownConfigLocations()
public void setSwaggerUiConfig(SwaggerUiConfig swaggerUiConfig)
public SwaggerUiConfig getSwaggerUiConfig()
SwaggerUiSupport
getSwaggerUiConfig
in interface SwaggerUiSupport
public String findSwaggerUiRoot()
SwaggerUiSupport
findSwaggerUiRoot
in interface SwaggerUiSupport
protected Properties getUserProperties(Map<String,Object> userDefinedOptions)
protected void registerOpenApiResources(JAXRSServiceFactoryBean sfb, org.eclipse.microprofile.openapi.models.OpenAPI openApiDefinition)
protected void registerSwaggerUiResources(JAXRSServiceFactoryBean sfb, Properties properties, ServerProviderFactory factory, Bus bus)
Apache CXF