public interface SwaggerConfiguration
extends io.swagger.config.SwaggerConfig
| Modifier and Type | Method and Description |
|---|---|
io.swagger.models.ExternalDocs |
getExternalDocs()
Get the external docs reference
|
Collection<String> |
getIgnoredRoutes()
Get the API routes to ignore.
|
String |
getReaderClass()
Get the API reader class.
|
Set<String> |
getResourcePackages()
Get the package names to use to filter the API resource classes.
|
String |
getScannerClass()
Get the API scanner class.
|
List<io.swagger.models.SecurityRequirement> |
getSecurity()
Get the security requirements
|
boolean |
isPrettyPrint()
Get whether to pretty print the API output.
|
boolean |
isReadAllResources()
Get whether to read all the API resource classes, diregarding the Api annotation.
|
void |
setPrettyPrint(boolean prettyPrint)
Set whether to pretty print the API output.
|
void |
setResourcePackages(Set<String> resourcePackages)
Set the package names to use to filter the API resource classes.
|
Set<String> getResourcePackages()
String getReaderClass()
String getScannerClass()
Collection<String> getIgnoredRoutes()
boolean isReadAllResources()
boolean isPrettyPrint()
void setResourcePackages(Set<String> resourcePackages)
resourcePackages - the package names to setvoid setPrettyPrint(boolean prettyPrint)
prettyPrint - whether to pretty print the API outputio.swagger.models.ExternalDocs getExternalDocs()
List<io.swagger.models.SecurityRequirement> getSecurity()
Copyright © 2019 The Holon Platform. All rights reserved.