public class SwaggerUtil extends Object
| 构造器和说明 |
|---|
SwaggerUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static io.swagger.models.properties.Property |
getNewProp(io.swagger.models.properties.Property dataProp,
String type,
Map<String,io.swagger.models.Model> definitions) |
static Map<String,io.swagger.models.properties.AbstractProperty> |
getPropMap() |
static String |
getRealType(String type) |
static String |
getRef(String type) |
static io.swagger.models.properties.AbstractProperty |
getSwaggerProperty(String type) |
static boolean |
hasGenerics(String type) |
static boolean |
hasRef(String type) |
static boolean |
isBaseType(String type) |
static boolean |
isIterable(String type) |
static boolean |
isMap(String type) |
static void |
main(String[] args) |
static String[] |
splitByComma(String str) |
public static boolean isBaseType(String type)
public static io.swagger.models.properties.AbstractProperty getSwaggerProperty(String type)
public static boolean isMap(String type)
public static boolean isIterable(String type)
public static boolean hasRef(String type)
public static boolean hasGenerics(String type)
public static io.swagger.models.properties.Property getNewProp(io.swagger.models.properties.Property dataProp,
String type,
Map<String,io.swagger.models.Model> definitions)
public static void main(String[] args)
Copyright © 2024. All rights reserved.