类 DocumentationBuilder
java.lang.Object
springfox.documentation.builders.DocumentationBuilder
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明apiListingsByResourceGroupName(com.google.common.collect.Multimap<String, ApiListing> apiListings) Updates the map with new entriesBase path for this APIbuild()static Comparator<ApiListing>Updates the existing media types with new entries that this documentation consumesextensions(List<VendorExtension> extensions) Adds extensions for this APIUpdates the host (name or ip) serving this api.Name of the documentation groupUpdates the existing media types with new entries that this documentation producesresourceListing(ResourceListing resourceListing) Updates the resource listingUpdates the schemes this api supportsUpdates the tags with new entries
-
构造器详细资料
-
DocumentationBuilder
public DocumentationBuilder()
-
-
方法详细资料
-
name
Name of the documentation group- 参数:
groupName- - group name- 返回:
- this
-
apiListingsByResourceGroupName
public DocumentationBuilder apiListingsByResourceGroupName(com.google.common.collect.Multimap<String, ApiListing> apiListings) Updates the map with new entries- 参数:
apiListings- - entries to add to the existing documentation- 返回:
- this
-
resourceListing
Updates the resource listing- 参数:
resourceListing- - resource listing- 返回:
- this
-
tags
Updates the tags with new entries- 参数:
tags- - new tags- 返回:
- this
-
produces
Updates the existing media types with new entries that this documentation produces- 参数:
mediaTypes- - new media types- 返回:
- this
-
consumes
Updates the existing media types with new entries that this documentation consumes- 参数:
mediaTypes- - new media types- 返回:
- this
-
host
Updates the host (name or ip) serving this api.- 参数:
host- - new host- 返回:
- this
-
schemes
Updates the schemes this api supports- 参数:
schemes- - new schemes- 返回:
- this
-
basePath
Base path for this API- 参数:
basePath- - base path- 返回:
- this
-
extensions
Adds extensions for this API- 参数:
extensions- - extensions- 返回:
- this
-
byListingPosition
-
build
-