public interface ApiConfigurationProperties
| Modifier and Type | Method and Description |
|---|---|
String |
getContactEmail()
Get the API contact email.
|
String |
getContactName()
Get the API contact name.
|
String |
getContactUrl()
Get the API contact URL.
|
String |
getContextId()
Get the API context id.
|
String |
getDescription()
Get the API description.
|
String |
getExternalDocsDescription()
Get the external documentation description.
|
String |
getExternalDocsUrl()
Get the external documentation URL.
|
List<String> |
getIgnoredRoutes()
Get the API operation routes to ignore for API definition generation.
|
String |
getLicenseName()
Get the API license name.
|
String |
getLicenseUrl()
Get the API license URL.
|
String |
getPath()
Get the API listing endpoint path.
|
String |
getResourcePackage()
Get the package names to use to filter the API resource classes.
|
default Set<String> |
getResourcePackages()
Get the package names to use to filter the API resource classes.
|
JaxrsScannerType |
getScannerType()
Get the API resource classes scanner type.
|
List<Map<String,List<String>>> |
getSecurityRequirements()
Get the API security requirements.
|
String |
getServerDescription()
Get the API server description.
|
String |
getServerUrl()
Get the API server URL.
|
String |
getTermsOfServiceUrl()
Get the API terms of service URL.
|
String |
getTitle()
Get the API title.
|
ApiEndpointType |
getType()
Get the API listing endpoint type.
|
SwaggerConfigurationProperties.Version |
getV2()
Get the Swagger V2 specific configuration.
|
SwaggerConfigurationProperties.Version |
getV3()
Get the Swagger/OpenAPI V3 specific configuration.
|
String |
getVersion()
Get the API version.
|
boolean |
isGroupConfiguration()
Get whether is a API group configuration.
|
boolean |
isIncludeAll()
Get whether to include all API resources or to include only the resources with a suitable API definition
annotation.
|
boolean |
isPrettyPrint()
Get whether the API output should be formatted.
|
boolean isGroupConfiguration()
boolean isIncludeAll()
If false: For Swagger V2, only the io.swagger.annotations.ApiOperation annotated
resource methods will be incuded. For Swagger/OpenAPI V3, only the
io.swagger.v3.oas.annotations.Operation annotated resource methods will be incuded.
List<String> getIgnoredRoutes()
String getResourcePackage()
To specify more than one package name, a comma separator con be used
default Set<String> getResourcePackages()
String getPath()
ApiEndpointType getType()
JaxrsScannerType getScannerType()
String getContextId()
String getTitle()
String getVersion()
String getDescription()
String getTermsOfServiceUrl()
String getContactName()
String getContactEmail()
String getContactUrl()
String getLicenseName()
String getLicenseUrl()
String getExternalDocsUrl()
String getExternalDocsDescription()
String getServerUrl()
String getServerDescription()
List<Map<String,List<String>>> getSecurityRequirements()
boolean isPrettyPrint()
SwaggerConfigurationProperties.Version getV2()
SwaggerConfigurationProperties.Version getV3()
Copyright © 2019 The Holon Platform. All rights reserved.