类 ApiInfo

java.lang.Object
springfox.documentation.service.ApiInfo

public class ApiInfo extends Object
  • 字段详细资料

    • DEFAULT_CONTACT

      public static final Contact DEFAULT_CONTACT
    • DEFAULT

      public static final ApiInfo 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 - title
      description - description
      version - version
      termsOfServiceUrl - terms of service
      contactName - contact name
      license - licence text
      licenseUrl - 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 - title
      description - description
      version - version
      termsOfServiceUrl - termsOfServiceUrl
      contact - contact
      license - license
      licenseUrl - license url
      vendorExtensions - vendor extensions
  • 方法详细资料

    • getTitle

      public String getTitle()
    • getDescription

      public String getDescription()
    • getTermsOfServiceUrl

      public String getTermsOfServiceUrl()
    • getContact

      public Contact getContact()
    • getLicense

      public String getLicense()
    • getLicenseUrl

      public String getLicenseUrl()
    • getVersion

      public String getVersion()
    • getVendorExtensions

      public List<VendorExtension> getVendorExtensions()