Class SpringDocConfigProperties


  • @Lazy(false)
    @Configuration(proxyBeanMethods=false)
    @ConfigurationProperties(prefix="springdoc")
    @ConditionalOnProperty(name="springdoc.api-docs.enabled",
                           matchIfMissing=true)
    public class SpringDocConfigProperties
    extends Object
    The type Spring doc config properties.
    Author:
    bnasslahsen
    • Constructor Detail

      • SpringDocConfigProperties

        public SpringDocConfigProperties()
    • Method Detail

      • isShowSpringCloudFunctions

        public boolean isShowSpringCloudFunctions()
        Is show spring cloud functions boolean.
        Returns:
        the boolean
      • setShowSpringCloudFunctions

        public void setShowSpringCloudFunctions​(boolean showSpringCloudFunctions)
        Sets show spring cloud functions.
        Parameters:
        showSpringCloudFunctions - the show spring cloud functions
      • isUseManagementPort

        public boolean isUseManagementPort()
        Is use management port boolean.
        Returns:
        the boolean
      • setUseManagementPort

        public void setUseManagementPort​(boolean useManagementPort)
        Sets use management port.
        Parameters:
        useManagementPort - the use management port
      • getProducesToMatch

        public List<String> getProducesToMatch()
        Gets produces to match.
        Returns:
        the produces to match
      • setProducesToMatch

        public void setProducesToMatch​(List<String> producesToMatch)
        Sets produces to match.
        Parameters:
        producesToMatch - the produces to match
      • getHeadersToMatch

        public List<String> getHeadersToMatch()
        Gets headers to match.
        Returns:
        the headers to match
      • setHeadersToMatch

        public void setHeadersToMatch​(List<String> headersToMatch)
        Sets headers to match.
        Parameters:
        headersToMatch - the headers to match
      • getConsumesToMatch

        public List<String> getConsumesToMatch()
        Gets consumes to match.
        Returns:
        the consumes to match
      • setConsumesToMatch

        public void setConsumesToMatch​(List<String> consumesToMatch)
        Sets consumes to match.
        Parameters:
        consumesToMatch - the consumes to match
      • isUseFqn

        public boolean isUseFqn()
        Is use fqn boolean.
        Returns:
        the boolean
      • setUseFqn

        public void setUseFqn​(boolean useFqn)
        Sets use fqn.
        Parameters:
        useFqn - the use fqn
      • isAutoTagClasses

        public boolean isAutoTagClasses()
        Is auto tag classes boolean.
        Returns:
        the boolean
      • setAutoTagClasses

        public void setAutoTagClasses​(boolean autoTagClasses)
        Sets auto tag classes.
        Parameters:
        autoTagClasses - the auto tag classes
      • isModelAndViewAllowed

        public boolean isModelAndViewAllowed()
        Is model and view allowed boolean.
        Returns:
        the boolean
      • setModelAndViewAllowed

        public void setModelAndViewAllowed​(boolean modelAndViewAllowed)
        Sets model and view allowed.
        Parameters:
        modelAndViewAllowed - the model and view allowed
      • getPackagesToExclude

        public List<String> getPackagesToExclude()
        Gets packages to exclude.
        Returns:
        the packages to exclude
      • setPackagesToExclude

        public void setPackagesToExclude​(List<String> packagesToExclude)
        Sets packages to exclude.
        Parameters:
        packagesToExclude - the packages to exclude
      • getPathsToExclude

        public List<String> getPathsToExclude()
        Gets paths to exclude.
        Returns:
        the paths to exclude
      • setPathsToExclude

        public void setPathsToExclude​(List<String> pathsToExclude)
        Sets paths to exclude.
        Parameters:
        pathsToExclude - the paths to exclude
      • isShowLoginEndpoint

        public boolean isShowLoginEndpoint()
        Is show login endpoint boolean.
        Returns:
        the boolean
      • setShowLoginEndpoint

        public void setShowLoginEndpoint​(boolean showLoginEndpoint)
        Sets show login endpoint.
        Parameters:
        showLoginEndpoint - the show login endpoint
      • getPackagesToScan

        public List<String> getPackagesToScan()
        Gets packages to scan.
        Returns:
        the packages to scan
      • setPackagesToScan

        public void setPackagesToScan​(List<String> packagesToScan)
        Sets packages to scan.
        Parameters:
        packagesToScan - the packages to scan
      • isShowActuator

        public boolean isShowActuator()
        Is show actuator boolean.
        Returns:
        the boolean
      • setShowActuator

        public void setShowActuator​(boolean showActuator)
        Sets show actuator.
        Parameters:
        showActuator - the show actuator
      • getPathsToMatch

        public List<String> getPathsToMatch()
        Gets paths to match.
        Returns:
        the paths to match
      • setPathsToMatch

        public void setPathsToMatch​(List<String> pathsToMatch)
        Sets paths to match.
        Parameters:
        pathsToMatch - the paths to match
      • isCacheDisabled

        public boolean isCacheDisabled()
        Is cache disabled boolean.
        Returns:
        the boolean
      • getDefaultConsumesMediaType

        public String getDefaultConsumesMediaType()
        Gets default consumes media type.
        Returns:
        the default consumes media type
      • setDefaultConsumesMediaType

        public void setDefaultConsumesMediaType​(String defaultConsumesMediaType)
        Sets default consumes media type.
        Parameters:
        defaultConsumesMediaType - the default consumes media type
      • getDefaultProducesMediaType

        public String getDefaultProducesMediaType()
        Gets default produces media type.
        Returns:
        the default produces media type
      • setDefaultProducesMediaType

        public void setDefaultProducesMediaType​(String defaultProducesMediaType)
        Sets default produces media type.
        Parameters:
        defaultProducesMediaType - the default produces media type
      • isOverrideWithGenericResponse

        public Boolean isOverrideWithGenericResponse()
        Is override with generic response boolean.
        Returns:
        the boolean
      • isDefaultOverrideWithGenericResponse

        public boolean isDefaultOverrideWithGenericResponse()
        Gets default override with generic response.
        Returns:
        the default override with generic response
      • setOverrideWithGenericResponse

        public void setOverrideWithGenericResponse​(Boolean overrideWithGenericResponse)
        Sets override with generic response.
        Parameters:
        overrideWithGenericResponse - the override with generic response
      • isRemoveBrokenReferenceDefinitions

        public boolean isRemoveBrokenReferenceDefinitions()
        Is remove broken reference definitions boolean.
        Returns:
        the boolean
      • setRemoveBrokenReferenceDefinitions

        public void setRemoveBrokenReferenceDefinitions​(boolean removeBrokenReferenceDefinitions)
        Sets remove broken reference definitions.
        Parameters:
        removeBrokenReferenceDefinitions - the remove broken reference definitions
      • isWriterWithOrderByKeys

        public boolean isWriterWithOrderByKeys()
        Is writer wither order by keys boolean.
        Returns:
        the boolean
      • setWriterWithOrderByKeys

        public void setWriterWithOrderByKeys​(boolean writerWithOrderByKeys)
        Sets writer wither order by keys.
        Parameters:
        writerWithOrderByKeys - the writer wither order by keys
      • isWriterWithDefaultPrettyPrinter

        public boolean isWriterWithDefaultPrettyPrinter()
        Is writer with default pretty printer boolean.
        Returns:
        the boolean
      • setWriterWithDefaultPrettyPrinter

        public void setWriterWithDefaultPrettyPrinter​(boolean writerWithDefaultPrettyPrinter)
        Sets writer with default pretty printer.
        Parameters:
        writerWithDefaultPrettyPrinter - the writer with default pretty printer
      • setPreLoadingEnabled

        public void setPreLoadingEnabled​(boolean preLoadingEnabled)
        Sets pre loading enabled.
        Parameters:
        preLoadingEnabled - the pre loading enabled
      • isDisableI18n

        public boolean isDisableI18n()
        Is disable i 18 n boolean.
        Returns:
        the boolean
      • setDisableI18n

        public void setDisableI18n​(boolean disableI18n)
        Sets disable i 18 n.
        Parameters:
        disableI18n - the disable i 18 n
      • isPreLoadingEnabled

        public boolean isPreLoadingEnabled()
        Is pre loading enabled boolean.
        Returns:
        the boolean