类 DocumentationType
java.lang.Object
org.springframework.plugin.metadata.SimplePluginMetadata
springfox.documentation.spi.DocumentationType
- 所有已实现的接口:
org.springframework.plugin.metadata.PluginMetadata
public class DocumentationType
extends org.springframework.plugin.metadata.SimplePluginMetadata
-
字段概要
字段修饰符和类型字段说明static final DocumentationTypestatic final DocumentationTypestatic final DocumentationType -
构造器概要
构造器构造器说明DocumentationType(String name, String version) DocumentationType(String name, String version, org.springframework.http.MediaType mediaType) Creates a new instance ofSimplePluginMetadata. -
方法概要
从类继承的方法 org.springframework.plugin.metadata.SimplePluginMetadata
getName, getVersion, toString
-
字段详细资料
-
SWAGGER_12
-
SWAGGER_2
-
SPRING_WEB
-
-
构造器详细资料
-
DocumentationType
Creates a new instance ofSimplePluginMetadata.- 参数:
name- must not be null.version- must not be null.mediaType- must not be null
-
DocumentationType
-
-
方法详细资料
-
getMediaType
public org.springframework.http.MediaType getMediaType() -
equals
- 覆盖:
equals在类中org.springframework.plugin.metadata.SimplePluginMetadata
-
hashCode
public int hashCode()- 覆盖:
hashCode在类中org.springframework.plugin.metadata.SimplePluginMetadata
-