Class SwaggerUiConfigProperties


  • @Configuration
    @ConfigurationProperties(prefix="springdoc.swagger-ui")
    public class SwaggerUiConfigProperties
    extends Object
    Please refer to the swagger configuration.md to get the idea what each parameter does.
    • Constructor Detail

      • SwaggerUiConfigProperties

        public SwaggerUiConfigProperties()
    • Method Detail

      • addGroup

        public static void addGroup​(String group)
      • getSwaggerUrls

        public static List<org.springdoc.core.SwaggerUiConfigProperties.SwaggerUrl> getSwaggerUrls()
      • setSwaggerUrls

        public static void setSwaggerUrls​(List<org.springdoc.core.SwaggerUiConfigProperties.SwaggerUrl> swaggerUrls)
      • addUrl

        public static void addUrl​(String url)
      • put

        protected void put​(String urls,
                           List<org.springdoc.core.SwaggerUiConfigProperties.SwaggerUrl> swaggerUrls,
                           Map<String,​Object> params)
      • getValidatorUrl

        public String getValidatorUrl()
      • setValidatorUrl

        public void setValidatorUrl​(String validatorUrl)
      • getPath

        public String getPath()
      • setPath

        public void setPath​(String path)
      • getLayout

        public String getLayout()
      • setLayout

        public void setLayout​(String layout)
      • getConfigUrl

        public String getConfigUrl()
      • setConfigUrl

        public void setConfigUrl​(String configUrl)
      • getFilter

        public String getFilter()
      • setFilter

        public void setFilter​(String filter)
      • getOperationsSorter

        public String getOperationsSorter()
      • setOperationsSorter

        public void setOperationsSorter​(String operationsSorter)
      • getTagsSorter

        public String getTagsSorter()
      • setTagsSorter

        public void setTagsSorter​(String tagsSorter)
      • getDeepLinking

        public Boolean getDeepLinking()
      • setDeepLinking

        public void setDeepLinking​(Boolean deepLinking)
      • getDisplayOperationId

        public Boolean getDisplayOperationId()
      • setDisplayOperationId

        public void setDisplayOperationId​(Boolean displayOperationId)
      • getDefaultModelsExpandDepth

        public Integer getDefaultModelsExpandDepth()
      • setDefaultModelsExpandDepth

        public void setDefaultModelsExpandDepth​(Integer defaultModelsExpandDepth)
      • getDefaultModelExpandDepth

        public Integer getDefaultModelExpandDepth()
      • setDefaultModelExpandDepth

        public void setDefaultModelExpandDepth​(Integer defaultModelExpandDepth)
      • getDefaultModelRendering

        public String getDefaultModelRendering()
      • setDefaultModelRendering

        public void setDefaultModelRendering​(String defaultModelRendering)
      • getDisplayRequestDuration

        public Boolean getDisplayRequestDuration()
      • setDisplayRequestDuration

        public void setDisplayRequestDuration​(Boolean displayRequestDuration)
      • getDocExpansion

        public String getDocExpansion()
      • setDocExpansion

        public void setDocExpansion​(String docExpansion)
      • getMaxDisplayedTags

        public Integer getMaxDisplayedTags()
      • setMaxDisplayedTags

        public void setMaxDisplayedTags​(Integer maxDisplayedTags)
      • getShowExtensions

        public Boolean getShowExtensions()
      • setShowExtensions

        public void setShowExtensions​(Boolean showExtensions)
      • getShowCommonExtensions

        public Boolean getShowCommonExtensions()
      • setShowCommonExtensions

        public void setShowCommonExtensions​(Boolean showCommonExtensions)
      • getSupportedSubmitMethods

        public List<String> getSupportedSubmitMethods()
      • setSupportedSubmitMethods

        public void setSupportedSubmitMethods​(List<String> supportedSubmitMethods)
      • getOauth2RedirectUrl

        public String getOauth2RedirectUrl()
      • setOauth2RedirectUrl

        public void setOauth2RedirectUrl​(String oauth2RedirectUrl)
      • getUrl

        public String getUrl()
      • setUrl

        public void setUrl​(String url)