Class SwaggerUiConfigParameters


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

      • SwaggerUiConfigParameters

        public SwaggerUiConfigParameters​(SwaggerUiConfigProperties swaggerUiConfig)
        Instantiates a new Swagger ui config parameters.
        Parameters:
        swaggerUiConfig - the swagger ui config
    • Method Detail

      • addGroup

        public void addGroup​(String group)
        Add group.
        Parameters:
        group - the group
      • addUrl

        public void addUrl​(String url)
        Add url.
        Parameters:
        url - the url
      • getUiRootPath

        public String getUiRootPath()
        Gets ui root path.
        Returns:
        the ui root path
      • setUiRootPath

        public void setUiRootPath​(String uiRootPath)
        Sets ui root path.
        Parameters:
        uiRootPath - the ui root path
      • isValidUrl

        public boolean isValidUrl​(String url)
        Is valid url boolean.
        Parameters:
        url - the url
        Returns:
        the boolean
      • getConfigParameters

        public Map<String,​Object> getConfigParameters()
        Gets config parameters.
        Returns:
        the config parameters