GenerationContext
Holds intermediate and stateful information about the current schema generation process.
Constructors
Properties
A list of SerialDescriptor representing the current path in the descriptor hierarchy during schema generation processing.
Description for the current element
A map of user-defined properties and types descriptions to override LLMDescription from the provided class.
The SerialDescriptor currently being processed.
Json instance used for serialization, provides required meta info needed for schema generation that is not available in SerialDescriptor.
A mutable map of SerialDescriptor to JsonObject, maintaining schema fragments for previously processed types to avoid redundant schema generation.
Functions
Helper method that gets description for an element in descriptor from descriptionOverrides map or LLMDescription annotation.
Helper method that gets description for descriptor type from descriptionOverrides map or LLMDescription annotation.