public class ModelResolver extends AbstractModelConverter implements ModelConverter
_intr, _mapper, _resolvedTypeNames, _typeNameResolver| Constructor and Description |
|---|
ModelResolver(com.fasterxml.jackson.databind.ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_addEnumProps(Class<?> propClass,
Schema property) |
protected void |
applyBeanValidatorAnnotations(Schema property,
Annotation[] annotations,
Schema parent) |
protected com.fasterxml.jackson.databind.JavaType |
getInnerType(String innerType) |
protected boolean |
ignore(com.fasterxml.jackson.databind.introspect.Annotated member,
XmlAccessorType xmlAccessorTypeAnnotation,
String propName,
Set<String> propertiesToIgnore) |
com.fasterxml.jackson.databind.ObjectMapper |
objectMapper() |
Schema |
resolve(com.fasterxml.jackson.databind.JavaType type,
ModelConverterContext context,
Iterator<ModelConverter> next) |
Schema |
resolve(Type type,
ModelConverterContext context,
Annotation[] annotations,
Iterator<ModelConverter> next) |
Schema |
resolve(Type type,
ModelConverterContext context,
Iterator<ModelConverter> next) |
Schema |
resolveProperty(com.fasterxml.jackson.databind.JavaType propType,
ModelConverterContext context,
Annotation[] annotations,
Iterator<ModelConverter> next) |
protected boolean |
shouldIgnoreClass(Type type) |
_description, _findDefaultValue, _findExampleValue, _findReadOnly, _findTypeName, _isSetType, _subTypeName, _typeName, _typeName, _typeQNamepublic ModelResolver(com.fasterxml.jackson.databind.ObjectMapper mapper)
public com.fasterxml.jackson.databind.ObjectMapper objectMapper()
protected boolean shouldIgnoreClass(Type type)
public Schema resolve(Type type, ModelConverterContext context, Annotation[] annotations, Iterator<ModelConverter> next)
resolve in interface ModelConverterannotations - to consider when resolving the propertynext - the chain of model converters to try if this implementation cannot processpublic Schema resolveProperty(com.fasterxml.jackson.databind.JavaType propType, ModelConverterContext context, Annotation[] annotations, Iterator<ModelConverter> next)
public Schema resolve(Type type, ModelConverterContext context, Iterator<ModelConverter> next)
resolve in interface ModelConverterresolve in class AbstractModelConverternext - the chain of model converters to try if this implementation cannot processpublic Schema resolve(com.fasterxml.jackson.databind.JavaType type, ModelConverterContext context, Iterator<ModelConverter> next)
protected boolean ignore(com.fasterxml.jackson.databind.introspect.Annotated member,
XmlAccessorType xmlAccessorTypeAnnotation,
String propName,
Set<String> propertiesToIgnore)
protected void applyBeanValidatorAnnotations(Schema property, Annotation[] annotations, Schema parent)
protected com.fasterxml.jackson.databind.JavaType getInnerType(String innerType)
Copyright © 2017. All Rights Reserved.