public abstract class AbstractSwaggerUiConfigProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AbstractSwaggerUiConfigProperties.SwaggerUrl
The type Swagger url.
|
Modifier and Type | Field and Description |
---|---|
protected String |
configUrl
URL to fetch external configuration document from.
|
protected Boolean |
deepLinking
Enables or disables deep linking for tags and operations.
|
protected Integer |
defaultModelExpandDepth
The default expansion depth for the model on the model-example section.
|
protected String |
defaultModelRendering
Controls how the model is shown when the API is first rendered.
|
protected Integer |
defaultModelsExpandDepth
The default expansion depth for models (set to -1 completely hide the models).
|
protected Boolean |
displayOperationId
Controls the display of operationId in operations list.
|
protected Boolean |
displayRequestDuration
Controls the display of the request duration (in milliseconds) for Try-It-Out requests.
|
protected String |
docExpansion
Controls the default expansion setting for the operations and tags.
|
protected String |
filter
If set, enables filtering.
|
protected org.springdoc.core.AbstractSwaggerUiConfigProperties.Direction |
groupsOrder
The Groups order.
|
protected String |
layout
The name of a component available via the plugin system to use as the top-level layout for Swagger UI.
|
protected Integer |
maxDisplayedTags
If set, limits the number of tagged operations displayed to at most this many.
|
protected String |
oauth2RedirectUrl
OAuth redirect URL.
|
protected String |
operationsSorter
Apply a sort to the operation list of each API
|
protected String |
path
The path for the Swagger UI pages to load.
|
protected Boolean |
persistAuthorization
The Persist authorization.
|
protected Boolean |
queryConfigEnabled
The Query config enabled.
|
protected Boolean |
showCommonExtensions
Controls the display of extensions
|
protected Boolean |
showExtensions
Controls the display of vendor extension (x-) fields and values.
|
protected List<String> |
supportedSubmitMethods
The supported try it out methods
|
protected String |
tagsSorter
Apply a sort to the tag list of each API
|
protected Boolean |
tryItOutEnabled
Try it out enabled
|
protected String |
url
The Url.
|
protected Set<AbstractSwaggerUiConfigProperties.SwaggerUrl> |
urls
The Urls.
|
protected String |
urlsPrimaryName
The Urls primary name.
|
protected String |
validatorUrl
URL to validate specs against.
|
protected Boolean |
withCredentials
The With credentials.
|
Constructor and Description |
---|
AbstractSwaggerUiConfigProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getConfigUrl()
Gets config url.
|
Boolean |
getDeepLinking()
Gets deep linking.
|
Integer |
getDefaultModelExpandDepth()
Gets default model expand depth.
|
String |
getDefaultModelRendering()
Gets default model rendering.
|
Integer |
getDefaultModelsExpandDepth()
Gets default models expand depth.
|
Boolean |
getDisplayOperationId()
Gets display operation id.
|
Boolean |
getDisplayRequestDuration()
Gets display request duration.
|
String |
getDocExpansion()
Gets doc expansion.
|
String |
getFilter()
Gets filter.
|
org.springdoc.core.AbstractSwaggerUiConfigProperties.Direction |
getGroupsOrder()
Gets groups order.
|
String |
getLayout()
Gets layout.
|
Integer |
getMaxDisplayedTags()
Gets max displayed tags.
|
String |
getOauth2RedirectUrl()
Gets oauth 2 redirect url.
|
String |
getOperationsSorter()
Gets operations sorter.
|
String |
getPath()
Gets path.
|
Boolean |
getPersistAuthorization()
Gets persist authorization.
|
Boolean |
getQueryConfigEnabled()
Gets query config enabled.
|
Boolean |
getShowCommonExtensions()
Gets show common extensions.
|
Boolean |
getShowExtensions()
Gets show extensions.
|
List<String> |
getSupportedSubmitMethods()
Gets supported submit methods.
|
String |
getTagsSorter()
Gets tags sorter.
|
Boolean |
getTryItOutEnabled()
Gets try it out enabled
|
String |
getUrl()
Gets url.
|
Set<AbstractSwaggerUiConfigProperties.SwaggerUrl> |
getUrls()
Gets urls.
|
String |
getUrlsPrimaryName()
Gets urls primary name.
|
String |
getValidatorUrl()
Gets validator url.
|
Boolean |
getWithCredentials()
Gets with credentials.
|
void |
setConfigUrl(String configUrl)
Sets config url.
|
void |
setDeepLinking(Boolean deepLinking)
Sets deep linking.
|
void |
setDefaultModelExpandDepth(Integer defaultModelExpandDepth)
Sets default model expand depth.
|
void |
setDefaultModelRendering(String defaultModelRendering)
Sets default model rendering.
|
void |
setDefaultModelsExpandDepth(Integer defaultModelsExpandDepth)
Sets default models expand depth.
|
void |
setDisplayOperationId(Boolean displayOperationId)
Sets display operation id.
|
void |
setDisplayRequestDuration(Boolean displayRequestDuration)
Sets display request duration.
|
void |
setDocExpansion(String docExpansion)
Sets doc expansion.
|
void |
setFilter(String filter)
Sets filter.
|
void |
setGroupsOrder(org.springdoc.core.AbstractSwaggerUiConfigProperties.Direction groupsOrder)
Sets groups order.
|
void |
setLayout(String layout)
Sets layout.
|
void |
setMaxDisplayedTags(Integer maxDisplayedTags)
Sets max displayed tags.
|
void |
setOauth2RedirectUrl(String oauth2RedirectUrl)
Sets oauth 2 redirect url.
|
void |
setOperationsSorter(String operationsSorter)
Sets operations sorter.
|
void |
setPath(String path)
Sets path.
|
void |
setPersistAuthorization(Boolean persistAuthorization)
Sets persist authorization.
|
void |
setQueryConfigEnabled(Boolean queryConfigEnabled)
Sets query config enabled.
|
void |
setShowCommonExtensions(Boolean showCommonExtensions)
Sets show common extensions.
|
void |
setShowExtensions(Boolean showExtensions)
Sets show extensions.
|
void |
setSupportedSubmitMethods(List<String> supportedSubmitMethods)
Sets supported submit methods.
|
void |
setTagsSorter(String tagsSorter)
Sets tags sorter.
|
void |
setTryItOutEnabled(Boolean tryItOutEnabled)
Sets try it out enabled
|
void |
setUrl(String url)
Sets url.
|
void |
setUrls(Set<AbstractSwaggerUiConfigProperties.SwaggerUrl> urls)
Sets urls.
|
void |
setUrlsPrimaryName(String urlsPrimaryName)
Sets urls primary name.
|
void |
setValidatorUrl(String validatorUrl)
Sets validator url.
|
void |
setWithCredentials(Boolean withCredentials)
Sets with credentials.
|
protected String path
protected String layout
protected String configUrl
protected String validatorUrl
protected String filter
protected String operationsSorter
protected String tagsSorter
protected Boolean deepLinking
protected Boolean displayOperationId
protected Integer defaultModelsExpandDepth
protected Integer defaultModelExpandDepth
protected String defaultModelRendering
protected Boolean displayRequestDuration
protected String docExpansion
protected Integer maxDisplayedTags
protected Boolean showExtensions
protected Boolean showCommonExtensions
protected List<String> supportedSubmitMethods
protected String oauth2RedirectUrl
protected String url
protected Set<AbstractSwaggerUiConfigProperties.SwaggerUrl> urls
protected org.springdoc.core.AbstractSwaggerUiConfigProperties.Direction groupsOrder
protected String urlsPrimaryName
protected Boolean tryItOutEnabled
protected Boolean persistAuthorization
protected Boolean queryConfigEnabled
protected Boolean withCredentials
public Boolean getWithCredentials()
public void setWithCredentials(Boolean withCredentials)
withCredentials
- the with credentialspublic Boolean getQueryConfigEnabled()
public void setQueryConfigEnabled(Boolean queryConfigEnabled)
queryConfigEnabled
- the query config enabledpublic Boolean getTryItOutEnabled()
public void setTryItOutEnabled(Boolean tryItOutEnabled)
tryItOutEnabled
- try it out enabledpublic Boolean getPersistAuthorization()
public void setPersistAuthorization(Boolean persistAuthorization)
persistAuthorization
- the persist authorizationpublic Set<AbstractSwaggerUiConfigProperties.SwaggerUrl> getUrls()
public void setUrls(Set<AbstractSwaggerUiConfigProperties.SwaggerUrl> urls)
urls
- the urlspublic String getValidatorUrl()
public void setValidatorUrl(String validatorUrl)
validatorUrl
- the validator urlpublic String getPath()
public void setPath(String path)
path
- the pathpublic String getLayout()
public void setLayout(String layout)
layout
- the layoutpublic String getConfigUrl()
public void setConfigUrl(String configUrl)
configUrl
- the config urlpublic String getFilter()
public void setFilter(String filter)
filter
- the filterpublic String getOperationsSorter()
public void setOperationsSorter(String operationsSorter)
operationsSorter
- the operations sorterpublic String getTagsSorter()
public void setTagsSorter(String tagsSorter)
tagsSorter
- the tags sorterpublic Boolean getDeepLinking()
public void setDeepLinking(Boolean deepLinking)
deepLinking
- the deep linkingpublic Boolean getDisplayOperationId()
public void setDisplayOperationId(Boolean displayOperationId)
displayOperationId
- the display operation idpublic Integer getDefaultModelsExpandDepth()
public void setDefaultModelsExpandDepth(Integer defaultModelsExpandDepth)
defaultModelsExpandDepth
- the default models expand depthpublic Integer getDefaultModelExpandDepth()
public void setDefaultModelExpandDepth(Integer defaultModelExpandDepth)
defaultModelExpandDepth
- the default model expand depthpublic String getDefaultModelRendering()
public void setDefaultModelRendering(String defaultModelRendering)
defaultModelRendering
- the default model renderingpublic Boolean getDisplayRequestDuration()
public void setDisplayRequestDuration(Boolean displayRequestDuration)
displayRequestDuration
- the display request durationpublic String getDocExpansion()
public void setDocExpansion(String docExpansion)
docExpansion
- the doc expansionpublic Integer getMaxDisplayedTags()
public void setMaxDisplayedTags(Integer maxDisplayedTags)
maxDisplayedTags
- the max displayed tagspublic Boolean getShowExtensions()
public void setShowExtensions(Boolean showExtensions)
showExtensions
- the show extensionspublic Boolean getShowCommonExtensions()
public void setShowCommonExtensions(Boolean showCommonExtensions)
showCommonExtensions
- the show common extensionspublic List<String> getSupportedSubmitMethods()
public void setSupportedSubmitMethods(List<String> supportedSubmitMethods)
supportedSubmitMethods
- the supported submit methodspublic String getOauth2RedirectUrl()
public void setOauth2RedirectUrl(String oauth2RedirectUrl)
oauth2RedirectUrl
- the oauth 2 redirect urlpublic String getUrl()
public void setUrl(String url)
url
- the urlpublic org.springdoc.core.AbstractSwaggerUiConfigProperties.Direction getGroupsOrder()
public void setGroupsOrder(org.springdoc.core.AbstractSwaggerUiConfigProperties.Direction groupsOrder)
groupsOrder
- the groups orderpublic String getUrlsPrimaryName()
public void setUrlsPrimaryName(String urlsPrimaryName)
urlsPrimaryName
- the urls primary nameCopyright © 2024. All rights reserved.