Package org.springdoc.core.properties
Class SpringDocConfigProperties.GroupConfig
java.lang.Object
org.springdoc.core.properties.SpringDocConfigProperties.GroupConfig
- Enclosing class:
- SpringDocConfigProperties
The type Group config.
- Author:
- bnasslahsen
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new Group config.GroupConfig(String group, List<String> pathsToMatch, List<String> packagesToScan, List<String> packagesToExclude, List<String> pathsToExclude, List<String> producesToMatch, List<String> consumesToMatch, List<String> headersToMatch, String displayName) Instantiates a new Group config. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets consumes to match.Gets display name.getGroup()Gets group.Gets headers to match.io.swagger.v3.oas.models.OpenAPIGets open api.Gets packages to exclude.Gets packages to scan.Gets paths to exclude.Gets paths to match.Gets produces to match.inthashCode()voidsetConsumesToMatch(List<String> consumesToMatch) Sets consumes to match.voidsetDisplayName(String displayName) Sets display name.voidSets group.voidsetHeadersToMatch(List<String> headersToMatch) Sets headers to match.voidsetOpenApi(io.swagger.v3.oas.models.OpenAPI openApi) Sets open api.voidsetPackagesToExclude(List<String> packagesToExclude) Sets packages to exclude.voidsetPackagesToScan(List<String> packagesToScan) Sets packages to scan.voidsetPathsToExclude(List<String> pathsToExclude) Sets paths to exclude.voidsetPathsToMatch(List<String> pathsToMatch) Sets paths to match.voidsetProducesToMatch(List<String> producesToMatch) Sets produces to match.
-
Constructor Details
-
GroupConfig
public GroupConfig()Instantiates a new Group config. -
GroupConfig
public GroupConfig(String group, List<String> pathsToMatch, List<String> packagesToScan, List<String> packagesToExclude, List<String> pathsToExclude, List<String> producesToMatch, List<String> consumesToMatch, List<String> headersToMatch, String displayName) Instantiates a new Group config.- Parameters:
group- the grouppathsToMatch- the paths to matchpackagesToScan- the packages to scanpackagesToExclude- the packages to excludepathsToExclude- the paths to excludeproducesToMatch- the produces to matchconsumesToMatch- the consumes to matchheadersToMatch- the headers to matchdisplayName- the display name
-
-
Method Details
-
getHeadersToMatch
Gets headers to match.- Returns:
- the headers to match
-
setHeadersToMatch
Sets headers to match.- Parameters:
headersToMatch- the headers to match
-
getConsumesToMatch
Gets consumes to match.- Returns:
- the consumes to match
-
setConsumesToMatch
Sets consumes to match.- Parameters:
consumesToMatch- the consumes to match
-
getPathsToMatch
Gets paths to match.- Returns:
- the paths to match
-
setPathsToMatch
Sets paths to match.- Parameters:
pathsToMatch- the paths to match
-
getPackagesToScan
Gets packages to scan.- Returns:
- the packages to scan
-
setPackagesToScan
Sets packages to scan.- Parameters:
packagesToScan- the packages to scan
-
getGroup
Gets group.- Returns:
- the group
-
setGroup
Sets group.- Parameters:
group- the group
-
getPackagesToExclude
Gets packages to exclude.- Returns:
- the packages to exclude
-
setPackagesToExclude
Sets packages to exclude.- Parameters:
packagesToExclude- the packages to exclude
-
getPathsToExclude
Gets paths to exclude.- Returns:
- the paths to exclude
-
setPathsToExclude
Sets paths to exclude.- Parameters:
pathsToExclude- the paths to exclude
-
getProducesToMatch
Gets produces to match.- Returns:
- the produces to match
-
setProducesToMatch
Sets produces to match.- Parameters:
producesToMatch- the produces to match
-
getDisplayName
Gets display name.- Returns:
- the display name
-
setDisplayName
Sets display name.- Parameters:
displayName- the display name
-
getOpenApi
public io.swagger.v3.oas.models.OpenAPI getOpenApi()Gets open api.- Returns:
- the open api
-
setOpenApi
public void setOpenApi(io.swagger.v3.oas.models.OpenAPI openApi) Sets open api.- Parameters:
openApi- the open api
-
equals
-
hashCode
public int hashCode()
-