类的使用
springfox.documentation.builders.ApiListingBuilder
使用ApiListingBuilder的程序包
-
springfox.documentation.builders中ApiListingBuilder的使用
修饰符和类型方法说明ApiListingBuilder.apis(List<ApiDescription> apis) Updates the apisApiListingBuilder.apiVersion(String apiVersion) Updates the api versionApiListingBuilder.appendConsumes(List<String> consumes) Appends to the exiting collection of supported media types this listing consumesApiListingBuilder.appendProduces(List<String> produces) Appends to the exiting collection of supported media types this listing producesApiListingBuilder.availableTags(Set<Tag> availableTags) Globally configured tagsUpdates base path for the api listingReplaces the existing media types with new entries that this documentation consumesApiListingBuilder.description(String description) Updates the descriptionUpdates the hostAdds to the models collectionApiListingBuilder.position(int position) Updates the position of the listingReplaces the existing media types with new entries that this documentation producesAppends to the exiting collection of supported protocolsApiListingBuilder.resourcePath(String resourcePath) Updates resource path for the api listingApiListingBuilder.securityReferences(List<SecurityReference> securityReferences) Updates the references to the security definitionsUpdates the tagsUpdates the tags.