Package uno.anahata.ai.tools.schema


package uno.anahata.ai.tools.schema
Provides the logic for generating JSON schemas from Java classes and methods.

This package contains the SchemaProvider2, which is responsible for introspecting Java types, methods, and annotations to produce the JSON schema definition that the Google Gemini API requires for function calling. It translates Java types into their corresponding schema types (e.g., String, Integer, Object, Array) and uses annotations for descriptions and constraints.

  • Classes
    Class
    Description
    A clean, focused provider for generating OpenAPI/Swagger compliant JSON schemas from Java types.