Interface SchemaInfoAggregator

All Known Implementing Classes:
DocumentationInfoAggregator, JacksonInfoAggregator, ValidationInfoAggregator

@Internal public interface SchemaInfoAggregator
An interface for objects responsible for aggregating JSON schema info.
Since:
1.0.0
Author:
Andriy Dmytruk
  • Method Summary

    Modifier and Type
    Method
    Description
    addInfo(io.micronaut.inject.ast.TypedElement element, Schema schema, io.micronaut.inject.visitor.VisitorContext visitorContext, JsonSchemaContext context)
    A method that is called for adding JSON schema info.
  • Method Details

    • addInfo

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