Class DocumentationInfoAggregator

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

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

    • DocumentationInfoAggregator

      public DocumentationInfoAggregator()
  • 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