@Configuration(proxyBeanMethods=false)
@ConfigurationProperties(prefix="springdoc.swagger-ui")
@ConditionalOnProperty(name="springdoc.swagger-ui.enabled",
matchIfMissing=true)
@ConditionalOnBean(value=SpringDocConfiguration.class)
public class SwaggerUiConfigProperties
extends AbstractSwaggerUiConfigProperties
| Modifier and Type | Class and Description |
|---|---|
static class |
SwaggerUiConfigProperties.Csrf
The type Csrf.
|
AbstractSwaggerUiConfigProperties.SwaggerUrlconfigUrl, deepLinking, defaultModelExpandDepth, defaultModelRendering, defaultModelsExpandDepth, displayOperationId, displayRequestDuration, docExpansion, filter, groupsOrder, layout, maxDisplayedTags, oauth2RedirectUrl, operationsSorter, path, showCommonExtensions, showExtensions, supportedSubmitMethods, tagsSorter, url, urls, urlsPrimaryName, validatorUrl| Constructor and Description |
|---|
SwaggerUiConfigProperties() |
| Modifier and Type | Method and Description |
|---|---|
SwaggerUiConfigProperties.Csrf |
getCsrf()
Gets csrf.
|
boolean |
isCsrfEnabled()
Is csrf enabled boolean.
|
boolean |
isDisableSwaggerDefaultUrl()
Is disable swagger default url boolean.
|
boolean |
isDisplayQueryParams()
Is display query params boolean.
|
boolean |
isDisplayQueryParamsWithoutOauth2()
Is display query params without oauth 2 boolean.
|
void |
setCsrf(SwaggerUiConfigProperties.Csrf csrf)
Sets csrf.
|
void |
setDisableSwaggerDefaultUrl(boolean disableSwaggerDefaultUrl)
Sets disable swagger default url.
|
void |
setDisplayQueryParams(boolean displayQueryParams)
Sets display query params.
|
void |
setDisplayQueryParamsWithoutOauth2(boolean displayQueryParamsWithoutOauth2)
Sets display query params without oauth 2.
|
getConfigUrl, getDeepLinking, getDefaultModelExpandDepth, getDefaultModelRendering, getDefaultModelsExpandDepth, getDisplayOperationId, getDisplayRequestDuration, getDocExpansion, getFilter, getGroupsOrder, getLayout, getMaxDisplayedTags, getOauth2RedirectUrl, getOperationsSorter, getPath, getShowCommonExtensions, getShowExtensions, getSupportedSubmitMethods, getTagsSorter, getUrl, getUrls, getUrlsPrimaryName, getValidatorUrl, setConfigUrl, setDeepLinking, setDefaultModelExpandDepth, setDefaultModelRendering, setDefaultModelsExpandDepth, setDisplayOperationId, setDisplayRequestDuration, setDocExpansion, setFilter, setGroupsOrder, setLayout, setMaxDisplayedTags, setOauth2RedirectUrl, setOperationsSorter, setPath, setShowCommonExtensions, setShowExtensions, setSupportedSubmitMethods, setTagsSorter, setUrl, setUrls, setUrlsPrimaryName, setValidatorUrlpublic boolean isDisableSwaggerDefaultUrl()
public void setDisableSwaggerDefaultUrl(boolean disableSwaggerDefaultUrl)
disableSwaggerDefaultUrl - the disable swagger default urlpublic boolean isDisplayQueryParams()
public void setDisplayQueryParams(boolean displayQueryParams)
displayQueryParams - the display query paramspublic boolean isDisplayQueryParamsWithoutOauth2()
public void setDisplayQueryParamsWithoutOauth2(boolean displayQueryParamsWithoutOauth2)
displayQueryParamsWithoutOauth2 - the display query params without oauth 2public SwaggerUiConfigProperties.Csrf getCsrf()
public void setCsrf(SwaggerUiConfigProperties.Csrf csrf)
csrf - the csrfpublic boolean isCsrfEnabled()
Copyright © 2020. All rights reserved.