@Lazy(value=false) @Configuration(proxyBeanMethods=false) @ConfigurationProperties(prefix="springdoc") @ConditionalOnProperty(name="springdoc.api-docs.enabled", matchIfMissing=true) public class SpringDocConfigProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SpringDocConfigProperties.ApiDocs
The type Api docs.
|
static class |
SpringDocConfigProperties.Cache
The type Cache.
|
static class |
SpringDocConfigProperties.GroupConfig
The type Group config.
|
static class |
SpringDocConfigProperties.Groups
The type Groups.
|
static class |
SpringDocConfigProperties.ModelConverters
The type Model converters.
|
static class |
SpringDocConfigProperties.Webjars
The type Webjars.
|
Modifier and Type | Field and Description |
---|---|
protected Boolean |
enableNativeImageSupport
The Enable native support.
|
Constructor and Description |
---|
SpringDocConfigProperties() |
Modifier and Type | Method and Description |
---|---|
void |
addGroupConfig(SpringDocConfigProperties.GroupConfig groupConfigs)
Add group config.
|
SpringDocConfigProperties.ApiDocs |
getApiDocs()
Gets api docs.
|
SpringDocConfigProperties.Cache |
getCache()
Gets cache.
|
List<String> |
getConsumesToMatch()
Gets consumes to match.
|
String |
getDefaultConsumesMediaType()
Gets default consumes media type.
|
String |
getDefaultProducesMediaType()
Gets default produces media type.
|
Boolean |
getEnableNativeImageSupport()
Gets enable native image support.
|
List<SpringDocConfigProperties.GroupConfig> |
getGroupConfigs()
Gets group configs.
|
List<String> |
getHeadersToMatch()
Gets headers to match.
|
List<String> |
getPackagesToExclude()
Gets packages to exclude.
|
List<String> |
getPackagesToScan()
Gets packages to scan.
|
List<String> |
getPathsToExclude()
Gets paths to exclude.
|
List<String> |
getPathsToMatch()
Gets paths to match.
|
List<String> |
getProducesToMatch()
Gets produces to match.
|
SpringDocConfigProperties.Webjars |
getWebjars()
Gets webjars.
|
boolean |
isAutoTagClasses()
Is auto tag classes boolean.
|
boolean |
isCacheDisabled()
Is cache disabled boolean.
|
boolean |
isModelAndViewAllowed()
Is model and view allowed boolean.
|
boolean |
isOverrideWithGenericResponse()
Is override with generic response boolean.
|
boolean |
isPreLoadingEnabled()
Is pre loading enabled boolean.
|
boolean |
isRemoveBrokenReferenceDefinitions()
Is remove broken reference definitions boolean.
|
boolean |
isShowActuator()
Is show actuator boolean.
|
boolean |
isShowLoginEndpoint()
Is show login endpoint boolean.
|
boolean |
isUseFqn()
Is use fqn boolean.
|
boolean |
isUseManagementPort()
Is use management port boolean.
|
boolean |
isWriterWithDefaultPrettyPrinter()
Is writer with default pretty printer boolean.
|
boolean |
isWriterWithOrderByKeys()
Is writer wither order by keys boolean.
|
void |
setApiDocs(SpringDocConfigProperties.ApiDocs apiDocs)
Sets api docs.
|
void |
setAutoTagClasses(boolean autoTagClasses)
Sets auto tag classes.
|
void |
setCache(SpringDocConfigProperties.Cache cache)
Sets cache.
|
void |
setConsumesToMatch(List<String> consumesToMatch)
Sets consumes to match.
|
void |
setDefaultConsumesMediaType(String defaultConsumesMediaType)
Sets default consumes media type.
|
void |
setDefaultProducesMediaType(String defaultProducesMediaType)
Sets default produces media type.
|
void |
setEnableNativeImageSupport(Boolean enableNativeImageSupport)
Sets enable native image support.
|
void |
setGroupConfigs(List<SpringDocConfigProperties.GroupConfig> groupConfigs)
Sets group configs.
|
void |
setHeadersToMatch(List<String> headersToMatch)
Sets headers to match.
|
void |
setModelAndViewAllowed(boolean modelAndViewAllowed)
Sets model and view allowed.
|
void |
setOverrideWithGenericResponse(boolean overrideWithGenericResponse)
Sets override with generic response.
|
void |
setPackagesToExclude(List<String> packagesToExclude)
Sets packages to exclude.
|
void |
setPackagesToScan(List<String> packagesToScan)
Sets packages to scan.
|
void |
setPathsToExclude(List<String> pathsToExclude)
Sets paths to exclude.
|
void |
setPathsToMatch(List<String> pathsToMatch)
Sets paths to match.
|
void |
setPreLoadingEnabled(boolean preLoadingEnabled)
Sets pre loading enabled.
|
void |
setProducesToMatch(List<String> producesToMatch)
Sets produces to match.
|
void |
setRemoveBrokenReferenceDefinitions(boolean removeBrokenReferenceDefinitions)
Sets remove broken reference definitions.
|
void |
setShowActuator(boolean showActuator)
Sets show actuator.
|
void |
setShowLoginEndpoint(boolean showLoginEndpoint)
Sets show login endpoint.
|
void |
setUseFqn(boolean useFqn)
Sets use fqn.
|
void |
setUseManagementPort(boolean useManagementPort)
Sets use management port.
|
void |
setWebjars(SpringDocConfigProperties.Webjars webjars)
Sets webjars.
|
void |
setWriterWithDefaultPrettyPrinter(boolean writerWithDefaultPrettyPrinter)
Sets writer with default pretty printer.
|
void |
setWriterWithOrderByKeys(boolean writerWithOrderByKeys)
Sets writer wither order by keys.
|
protected Boolean enableNativeImageSupport
public Boolean getEnableNativeImageSupport()
public void setEnableNativeImageSupport(Boolean enableNativeImageSupport)
enableNativeImageSupport
- the enable native image supportpublic boolean isUseManagementPort()
public void setUseManagementPort(boolean useManagementPort)
useManagementPort
- the use management portpublic List<String> getProducesToMatch()
public void setProducesToMatch(List<String> producesToMatch)
producesToMatch
- the produces to matchpublic List<String> getHeadersToMatch()
public void setHeadersToMatch(List<String> headersToMatch)
headersToMatch
- the headers to matchpublic List<String> getConsumesToMatch()
public void setConsumesToMatch(List<String> consumesToMatch)
consumesToMatch
- the consumes to matchpublic boolean isUseFqn()
public void setUseFqn(boolean useFqn)
useFqn
- the use fqnpublic boolean isAutoTagClasses()
public void setAutoTagClasses(boolean autoTagClasses)
autoTagClasses
- the auto tag classespublic boolean isModelAndViewAllowed()
public void setModelAndViewAllowed(boolean modelAndViewAllowed)
modelAndViewAllowed
- the model and view allowedpublic List<String> getPackagesToExclude()
public void setPackagesToExclude(List<String> packagesToExclude)
packagesToExclude
- the packages to excludepublic List<String> getPathsToExclude()
public void setPathsToExclude(List<String> pathsToExclude)
pathsToExclude
- the paths to excludepublic boolean isShowLoginEndpoint()
public void setShowLoginEndpoint(boolean showLoginEndpoint)
showLoginEndpoint
- the show login endpointpublic List<String> getPackagesToScan()
public void setPackagesToScan(List<String> packagesToScan)
packagesToScan
- the packages to scanpublic boolean isShowActuator()
public void setShowActuator(boolean showActuator)
showActuator
- the show actuatorpublic SpringDocConfigProperties.Webjars getWebjars()
public void setWebjars(SpringDocConfigProperties.Webjars webjars)
webjars
- the webjarspublic SpringDocConfigProperties.ApiDocs getApiDocs()
public void setApiDocs(SpringDocConfigProperties.ApiDocs apiDocs)
apiDocs
- the api docspublic List<String> getPathsToMatch()
public void setPathsToMatch(List<String> pathsToMatch)
pathsToMatch
- the paths to matchpublic SpringDocConfigProperties.Cache getCache()
public void setCache(SpringDocConfigProperties.Cache cache)
cache
- the cachepublic boolean isCacheDisabled()
public List<SpringDocConfigProperties.GroupConfig> getGroupConfigs()
public void setGroupConfigs(List<SpringDocConfigProperties.GroupConfig> groupConfigs)
groupConfigs
- the group configspublic void addGroupConfig(SpringDocConfigProperties.GroupConfig groupConfigs)
groupConfigs
- the group configspublic String getDefaultConsumesMediaType()
public void setDefaultConsumesMediaType(String defaultConsumesMediaType)
defaultConsumesMediaType
- the default consumes media typepublic String getDefaultProducesMediaType()
public void setDefaultProducesMediaType(String defaultProducesMediaType)
defaultProducesMediaType
- the default produces media typepublic boolean isOverrideWithGenericResponse()
public void setOverrideWithGenericResponse(boolean overrideWithGenericResponse)
overrideWithGenericResponse
- the override with generic responsepublic boolean isRemoveBrokenReferenceDefinitions()
public void setRemoveBrokenReferenceDefinitions(boolean removeBrokenReferenceDefinitions)
removeBrokenReferenceDefinitions
- the remove broken reference definitionspublic boolean isWriterWithOrderByKeys()
public void setWriterWithOrderByKeys(boolean writerWithOrderByKeys)
writerWithOrderByKeys
- the writer wither order by keyspublic boolean isWriterWithDefaultPrettyPrinter()
public void setWriterWithDefaultPrettyPrinter(boolean writerWithDefaultPrettyPrinter)
writerWithDefaultPrettyPrinter
- the writer with default pretty printerpublic void setPreLoadingEnabled(boolean preLoadingEnabled)
preLoadingEnabled
- the pre loading enabledpublic boolean isPreLoadingEnabled()
Copyright © 2021. All rights reserved.