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 TypeMethodDescriptionaddInfo
(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 typeschema
- The current schemavisitorContext
- The visitor contextcontext
- The JSON schema visitor configuration- Returns:
- The new or modified schema
-