Interface OutputSchemaGenerator

All Known Subinterfaces:
GlobalOutputSchemaGenerator
All Known Implementing Classes:
DefaultSchemaGenerator

public interface OutputSchemaGenerator
Generates the output schema for a return type of a Tool method.

Implementation classes must be CDI beans. Qualifiers are ignored.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    generate(Class<?> from)
    The return value is serialized with the jackson-databind library.
  • Method Details

    • generate

      Object generate(Class<?> from)
      The return value is serialized with the jackson-databind library.
      Parameters:
      from -
      Returns:
      the object representing the schema