@Component @ConfigurationProperties(value="swagger") public class SwaggerProperties extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SwaggerProperties.Authorization |
static class |
SwaggerProperties.AuthorizationScope |
static class |
SwaggerProperties.Contact |
| 构造器和说明 |
|---|
SwaggerProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
SwaggerProperties.Authorization |
getAuthorization() |
String |
getBasePackage() |
List<String> |
getBasePath() |
SwaggerProperties.Contact |
getContact() |
String |
getDescription() |
Boolean |
getEnabled() |
List<String> |
getExcludePath() |
String |
getHost() |
String |
getLicense() |
String |
getLicenseUrl() |
String |
getTermsOfServiceUrl() |
String |
getTitle() |
String |
getVersion() |
void |
setAuthorization(SwaggerProperties.Authorization authorization) |
void |
setBasePackage(String basePackage) |
void |
setBasePath(List<String> basePath) |
void |
setContact(SwaggerProperties.Contact contact) |
void |
setDescription(String description) |
void |
setEnabled(Boolean enabled) |
void |
setExcludePath(List<String> excludePath) |
void |
setHost(String host) |
void |
setLicense(String license) |
void |
setLicenseUrl(String licenseUrl) |
void |
setTermsOfServiceUrl(String termsOfServiceUrl) |
void |
setTitle(String title) |
void |
setVersion(String version) |
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public String getBasePackage()
public void setBasePackage(String basePackage)
public String getTitle()
public void setTitle(String title)
public String getDescription()
public void setDescription(String description)
public String getVersion()
public void setVersion(String version)
public String getLicense()
public void setLicense(String license)
public String getLicenseUrl()
public void setLicenseUrl(String licenseUrl)
public String getTermsOfServiceUrl()
public void setTermsOfServiceUrl(String termsOfServiceUrl)
public String getHost()
public void setHost(String host)
public SwaggerProperties.Contact getContact()
public void setContact(SwaggerProperties.Contact contact)
public SwaggerProperties.Authorization getAuthorization()
public void setAuthorization(SwaggerProperties.Authorization authorization)
Copyright © 2021. All rights reserved.