spring-projects / spring-projects/spring-ai

Consolidate JSON Schema generation documentation between Tool Calling and Structured Output Conversion

Open Beginner friendly
#5,915 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-triage
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
1d 7h
Merged PRs (30d)
6

Description

Following the consolidation in #5897, BeanOutputConverter now delegates to JsonSchemaGenerator for schema generation, aligning the behavior between tool calling and structured output conversion.

The reference documentation for these two features should be reviewed and consolidated, since they now share the same schema generation logic — in particular, the supported annotations (@ToolParam, @JsonProperty, @Schema, @Nullable) and the default required-property behavior.

Discussed in #5897.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the reference documentation for Tool Calling and Structured Output Conversion, then compare how they describe BeanOutputConverter and JsonSchemaGenerator. Consolidate the sections so the supported annotations (@ToolParam, @JsonProperty, @Schema, @Nullable) and default required-property behavior are documented consistently, using #5897 for context.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
Half a day
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.