Package io.swagger.converter
Interface ModelConverter
-
- All Known Implementing Classes:
AbstractModelConverter
,ModelResolver
public interface ModelConverter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Model
resolve(Type type, ModelConverterContext context, Iterator<ModelConverter> chain)
Property
resolveProperty(Type type, ModelConverterContext context, Annotation[] annotations, Iterator<ModelConverter> chain)
-
-
-
Method Detail
-
resolveProperty
Property resolveProperty(Type type, ModelConverterContext context, Annotation[] annotations, Iterator<ModelConverter> chain)
- Parameters:
type
-context
-annotations
- to consider when resolving the propertychain
- the chain of model converters to try if this implementation cannot process- Returns:
- null if this ModelConverter cannot convert the given Type
-
resolve
Model resolve(Type type, ModelConverterContext context, Iterator<ModelConverter> chain)
- Parameters:
type
-context
-chain
- the chain of model converters to try if this implementation cannot process- Returns:
- null if this ModelConverter cannot convert the given Type
-
-