public class DocumentationType
extends org.springframework.plugin.metadata.SimplePluginMetadata
| 限定符和类型 | 字段和说明 |
|---|---|
static DocumentationType |
SPRING_WEB |
static DocumentationType |
SWAGGER_12 |
static DocumentationType |
SWAGGER_2 |
| 构造器和说明 |
|---|
DocumentationType(String name,
String version) |
DocumentationType(String name,
String version,
org.springframework.http.MediaType mediaType)
Creates a new instance of
SimplePluginMetadata. |
public static final DocumentationType SWAGGER_12
public static final DocumentationType SWAGGER_2
public static final DocumentationType SPRING_WEB
public DocumentationType(String name, String version, org.springframework.http.MediaType mediaType)
SimplePluginMetadata.name - must not be null.version - must not be null.mediaType - must not be nullpublic org.springframework.http.MediaType getMediaType()
public boolean equals(Object o)
equals 在类中 org.springframework.plugin.metadata.SimplePluginMetadatapublic int hashCode()
hashCode 在类中 org.springframework.plugin.metadata.SimplePluginMetadataCopyright © 2023. All rights reserved.