@ConfigurationProperties(value="dorado.swagger") public class SwaggerProperties extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
SwaggerProperties.ApiKey |
static class |
SwaggerProperties.Contact |
| 构造器和说明 |
|---|
SwaggerProperties() |
| 限定符和类型 | 方法和说明 |
|---|---|
SwaggerProperties.ApiKey |
getApiKey() |
SwaggerProperties.Contact |
getContact() |
String |
getDescription() |
String |
getLicense() |
String |
getLicenseUrl() |
String |
getTermsOfServiceUrl() |
String |
getTitle() |
String |
getVersion() |
void |
setApiKey(SwaggerProperties.ApiKey apiKey) |
void |
setContact(SwaggerProperties.Contact contact) |
void |
setDescription(String description) |
void |
setLicense(String license) |
void |
setLicenseUrl(String licenseUrl) |
void |
setTermsOfServiceUrl(String termsOfServiceUrl) |
void |
setTitle(String title) |
void |
setVersion(String version) |
public String getVersion()
public void setVersion(String version)
version - the version to setpublic String getDescription()
public void setDescription(String description)
description - the description to setpublic String getTitle()
public void setTitle(String title)
title - the title to setpublic String getLicense()
public void setLicense(String license)
license - the license to setpublic String getLicenseUrl()
public void setLicenseUrl(String licenseUrl)
licenseUrl - the licenseUrl to setpublic String getTermsOfServiceUrl()
public void setTermsOfServiceUrl(String termsOfServiceUrl)
termsOfServiceUrl - the termsOfServiceUrl to setpublic SwaggerProperties.Contact getContact()
public void setContact(SwaggerProperties.Contact contact)
contact - the contact to setpublic SwaggerProperties.ApiKey getApiKey()
public void setApiKey(SwaggerProperties.ApiKey apiKey)
apiKey - the apiKey to setCopyright © 2019. All rights reserved.