Package io.swagger.v3.core.converter
Interface ModelConverter
-
- All Known Implementing Classes:
AbstractModelConverter,ModelResolver
public interface ModelConverter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanisOpenapi31()Schemaresolve(AnnotatedType type, ModelConverterContext context, Iterator<ModelConverter> chain)
-
-
-
Method Detail
-
resolve
Schema resolve(AnnotatedType 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
-
isOpenapi31
default boolean isOpenapi31()
-
-