Class SwaggerUiConfigProperties


  • @Lazy(false)
    @Configuration(proxyBeanMethods=false)
    @ConfigurationProperties(prefix="springdoc.swagger-ui")
    @ConditionalOnProperty(name="springdoc.swagger-ui.enabled",
                           matchIfMissing=true)
    @ConditionalOnBean(SpringDocConfiguration.class)
    public class SwaggerUiConfigProperties
    extends AbstractSwaggerUiConfigProperties
    The type Swagger ui config properties.
    Author:
    bnasslahsen
    • Constructor Detail

      • SwaggerUiConfigProperties

        public SwaggerUiConfigProperties()
    • Method Detail

      • getVersion

        public String getVersion()
        Gets swagger ui version.
        Returns:
        the swagger ui version
      • setVersion

        public void setVersion​(String version)
        Sets swagger ui version.
        Parameters:
        version - the swagger ui version
      • isUseRootPath

        public boolean isUseRootPath()
        Is use root path boolean.
        Returns:
        the boolean
      • setUseRootPath

        public void setUseRootPath​(boolean useRootPath)
        Sets use root path.
        Parameters:
        useRootPath - the use root path
      • isEnabled

        public boolean isEnabled()
        Is enabled boolean.
        Returns:
        the boolean
      • setEnabled

        public void setEnabled​(boolean enabled)
        Sets enabled.
        Parameters:
        enabled - the enabled
      • isDisableSwaggerDefaultUrl

        public boolean isDisableSwaggerDefaultUrl()
        Is disable swagger default url boolean.
        Returns:
        the boolean
      • setDisableSwaggerDefaultUrl

        public void setDisableSwaggerDefaultUrl​(boolean disableSwaggerDefaultUrl)
        Sets disable swagger default url.
        Parameters:
        disableSwaggerDefaultUrl - the disable swagger default url
      • isCsrfEnabled

        public boolean isCsrfEnabled()
        Is csrf enabled boolean.
        Returns:
        the boolean