Package io.quarkiverse.mcp.server
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
-
Method Details
-
generate
The return value is serialized with thejackson-databindlibrary.- Parameters:
from-- Returns:
- the object representing the schema
-