Skip to content

fix: honor nested Jackson annotations in tool schemas - #1940

Open
arnabnandy7 wants to merge 1 commit into
embabel:mainfrom
arnabnandy7:fix/nested-jackson-schema
Open

fix: honor nested Jackson annotations in tool schemas#1940
arnabnandy7 wants to merge 1 commit into
embabel:mainfrom
arnabnandy7:fix/nested-jackson-schema

Conversation

@arnabnandy7

Copy link
Copy Markdown
Contributor

Summary

Fixes #1884 by registering Victools’ JacksonModule when generating tool input schemas.

Nested Jackson annotations such as @JsonPropertyDescription are now reflected in the generated JSON Schema.

Changes

  • Register JacksonModule in VictoolsSchemaGenerator
  • Add regression coverage for descriptions on nested properties
  • Reuse the Jackson-aware schema configuration pattern already present in the codebase

Testing

mvn -pl embabel-agent-api -Dtest=TypeBasedInputSchemaTest test

Signed-off-by: Arnab Nandy <arnab_nandy7@yahoo.com>
@igordayen igordayen added this to the 1.5.3-Release🔵 milestone Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VictoolsSchemaGenerator does not honor nested Jackson annotations for parameter serialization

2 participants