public class SchemaPropertyDeprecatingConverter extends Object implements io.swagger.v3.core.converter.ModelConverter
Constructor and Description |
---|
SchemaPropertyDeprecatingConverter() |
Modifier and Type | Method and Description |
---|---|
static void |
addDeprecatedType(Class<? extends Annotation> cls) |
static boolean |
containsDeprecatedAnnotation(Annotation[] annotations) |
static boolean |
isDeprecated(AnnotatedElement annotatedElement) |
io.swagger.v3.oas.models.media.Schema |
resolve(io.swagger.v3.core.converter.AnnotatedType type,
io.swagger.v3.core.converter.ModelConverterContext context,
Iterator<io.swagger.v3.core.converter.ModelConverter> chain) |
public io.swagger.v3.oas.models.media.Schema resolve(io.swagger.v3.core.converter.AnnotatedType type, io.swagger.v3.core.converter.ModelConverterContext context, Iterator<io.swagger.v3.core.converter.ModelConverter> chain)
resolve
in interface io.swagger.v3.core.converter.ModelConverter
public static boolean containsDeprecatedAnnotation(Annotation[] annotations)
public static void addDeprecatedType(Class<? extends Annotation> cls)
public static boolean isDeprecated(AnnotatedElement annotatedElement)
Copyright © 2020. All rights reserved.