Class JacksonInfoAggregator

java.lang.Object
io.micronaut.jsonschema.visitor.aggregator.JacksonInfoAggregator
All Implemented Interfaces:
SchemaInfoAggregator

@Internal public class JacksonInfoAggregator extends Object implements SchemaInfoAggregator
An aggregator for adding information from the jackson serialization annotations.
  • Field Details

    • UNSUPPORTED_ANNOTATIONS

      public static final List<Class<? extends Annotation>> UNSUPPORTED_ANNOTATIONS
  • Constructor Details

    • JacksonInfoAggregator

      public JacksonInfoAggregator()
  • Method Details

    • addInfo

      public Schema addInfo(io.micronaut.inject.ast.TypedElement element, Schema schema, io.micronaut.inject.visitor.VisitorContext visitorContext, JsonSchemaContext context)
      Description copied from interface: SchemaInfoAggregator
      A method that is called for adding JSON schema info.
      Specified by:
      addInfo in interface SchemaInfoAggregator
      Parameters:
      element - The type
      schema - The current schema
      visitorContext - The visitor context
      context - The JSON schema visitor configuration
      Returns:
      The new or modified schema