类 ApiInfoBuilder
java.lang.Object
springfox.documentation.builders.ApiInfoBuilder
Builds the api information
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()已过时。Updates contact information for the person responsible for this APIdescription(String description) Updates the api descriptionextensions(List<VendorExtension> extensions) Adds extensions for this APIUpdates license information for this APIlicenseUrl(String licenseUrl) Updates the license Url for this APItermsOfServiceUrl(String termsOfServiceUrl) Updates the terms of service urlUpdates the api titleUpdates the api version
-
构造器详细资料
-
ApiInfoBuilder
public ApiInfoBuilder()
-
-
方法详细资料
-
title
Updates the api title- 参数:
title- - title for the API- 返回:
- this
-
description
Updates the api description- 参数:
description- - api description- 返回:
- this
-
termsOfServiceUrl
Updates the terms of service url- 参数:
termsOfServiceUrl- - url to the terms of service- 返回:
- this
-
version
Updates the api version- 参数:
version- - of the API- 返回:
- this
-
contact
已过时。Updates contact information for the person responsible for this API- 参数:
contact- - contact information- 返回:
- this
- 从以下版本开始:
- 2.4.0. Use the overload that takes in a contact instead
-
contact
Updates contact information for the person responsible for this API- 参数:
contact- - contact information- 返回:
- this
-
license
Updates license information for this API- 参数:
license- licence string- 返回:
- this
-
licenseUrl
Updates the license Url for this API- 参数:
licenseUrl- - license Url- 返回:
- this
-
extensions
Adds extensions for this API- 参数:
extensions- - extensions- 返回:
- this
-
build
-