类 ApiDescriptionBuilder
java.lang.Object
springfox.documentation.builders.ApiDescriptionBuilder
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()description(String description) Updates the descriptions to the api operationUpdates the group name the api operation belongs tohidden(boolean hidden) Marks the operation as hiddenoperations(List<Operation> operations) Updates the operations to the api operationUpdates the path to the api operationpathDecorator(com.google.common.base.Function<String, String> pathDecorator)
-
构造器详细资料
-
ApiDescriptionBuilder
-
-
方法详细资料
-
path
Updates the path to the api operation- 参数:
path- - operation path- 返回:
- this @see springfox.documentation.builders.ApiDescriptionBuilder
-
description
Updates the descriptions to the api operation- 参数:
description- - operation description- 返回:
- this @see springfox.documentation.builders.ApiDescriptionBuilder
-
operations
Updates the operations to the api operation- 参数:
operations- - operations for each of the http methods for that path- 返回:
- this @see springfox.documentation.builders.ApiDescriptionBuilder
-
pathDecorator
public ApiDescriptionBuilder pathDecorator(com.google.common.base.Function<String, String> pathDecorator) -
groupName
Updates the group name the api operation belongs to- 参数:
groupName- - group this api description belongs to- 返回:
- this @see springfox.documentation.builders.ApiDescriptionBuilder
- 从以下版本开始:
- 2.8.1
-
build
-