public final class SchemaResolver extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getSchemaFromType(Type type,
Map<String,org.restdoc.api.Schema> schemaMap,
IRestDocGeneratorExtension ext)
same as getSchemaFromClassOrNull but throws
RestDocException if no schema is found |
static String |
getSchemaFromTypeOrNull(Type type,
Map<String,org.restdoc.api.Schema> schemaMap,
IRestDocGeneratorExtension ext) |
public static String getSchemaFromType(Type type, Map<String,org.restdoc.api.Schema> schemaMap, IRestDocGeneratorExtension ext)
RestDocException if no schema is foundtype - the type to scanschemaMap - the map to add the schema toext - the IRestDocGeneratorExtension to invoke on new schemapublic static String getSchemaFromTypeOrNull(Type type, Map<String,org.restdoc.api.Schema> schemaMap, IRestDocGeneratorExtension ext)
type - the type to scanschemaMap - the map to add the schema toext - the IRestDocGeneratorExtension to invoke on new schemaCopyright © 2012-2014 RestDoc.org. All Rights Reserved.