类 ApiInfo
java.lang.Object
springfox.documentation.service.ApiInfo
-
字段概要
字段 -
构造器概要
构造器构造器说明ApiInfo(String title, String description, String version, String termsOfServiceUrl, String contactName, String license, String licenseUrl) 已过时。ApiInfo(String title, String description, String version, String termsOfServiceUrl, Contact contact, String license, String licenseUrl, Collection<VendorExtension> vendorExtensions) Default contstructor -
方法概要
-
字段详细资料
-
DEFAULT_CONTACT
-
DEFAULT
-
-
构造器详细资料
-
ApiInfo
@Deprecated public ApiInfo(String title, String description, String version, String termsOfServiceUrl, String contactName, String license, String licenseUrl) 已过时。Deprecated in favor of richer contact object- 参数:
title- titledescription- descriptionversion- versiontermsOfServiceUrl- terms of servicecontactName- contact namelicense- licence textlicenseUrl- license url- 从以下版本开始:
- 2.4.0
-
ApiInfo
public ApiInfo(String title, String description, String version, String termsOfServiceUrl, Contact contact, String license, String licenseUrl, Collection<VendorExtension> vendorExtensions) Default contstructor- 参数:
title- titledescription- descriptionversion- versiontermsOfServiceUrl- termsOfServiceUrlcontact- contactlicense- licenselicenseUrl- license urlvendorExtensions- vendor extensions
-
-
方法详细资料
-
getTitle
-
getDescription
-
getTermsOfServiceUrl
-
getContact
-
getLicense
-
getLicenseUrl
-
getVersion
-
getVendorExtensions
-