public class OpenApiJacksonVisitor
extends java.lang.Object
implements io.micronaut.inject.visitor.TypeElementVisitor<java.lang.Object,java.lang.Object>
TypeElementVisitor
that builds appropriate Schema
annotation for the parent class of a hierarchy
when using Jackson JsonTypeInfo
and JsonSubTypes
.Constructor and Description |
---|
OpenApiJacksonVisitor() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
java.util.Set<java.lang.String> |
getSupportedAnnotationNames() |
io.micronaut.inject.visitor.TypeElementVisitor.VisitorKind |
getVisitorKind() |
void |
visitClass(io.micronaut.inject.ast.ClassElement element,
io.micronaut.inject.visitor.VisitorContext visitorContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
@NonNull public io.micronaut.inject.visitor.TypeElementVisitor.VisitorKind getVisitorKind()
getVisitorKind
in interface io.micronaut.inject.visitor.TypeElementVisitor<java.lang.Object,java.lang.Object>
public java.util.Set<java.lang.String> getSupportedAnnotationNames()
getSupportedAnnotationNames
in interface io.micronaut.inject.visitor.TypeElementVisitor<java.lang.Object,java.lang.Object>
public int getOrder()
getOrder
in interface io.micronaut.core.order.Ordered
public void visitClass(io.micronaut.inject.ast.ClassElement element, io.micronaut.inject.visitor.VisitorContext visitorContext)
visitClass
in interface io.micronaut.inject.visitor.TypeElementVisitor<java.lang.Object,java.lang.Object>