Skip to content

Consolidate JSON Schema generation documentation between Tool Calling and Structured Output#6160

Open
ChoMinGi wants to merge 1 commit into
spring-projects:mainfrom
ChoMinGi:GH-5915
Open

Consolidate JSON Schema generation documentation between Tool Calling and Structured Output#6160
ChoMinGi wants to merge 1 commit into
spring-projects:mainfrom
ChoMinGi:GH-5915

Conversation

@ChoMinGi
Copy link
Copy Markdown
Contributor

@ChoMinGi ChoMinGi commented May 26, 2026

Fixes #5915

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

However, the documentation for these two features remained separate — the supported annotations and default required-property behavior were only documented in the Tool Calling page.

  • Add a "JSON Schema Customization" section to structured-output-converter.adoc documenting the supported annotations for description (@JsonClassDescription, @JsonPropertyDescription, @Schema) and required/optional status (@JsonProperty, @Schema, @Nullable)
  • Add a cross-reference from tools.adoc to structured-output-converter.adoc, noting that BeanOutputConverter shares the same JsonSchemaGenerator

…entation

- Add JSON Schema Customization section to structured-output-converter.adoc
- Add cross-reference from tools.adoc to structured-output-converter.adoc

spring-projects#5915
Signed-off-by: Mingi Cho <81455273+ChoMinGi@users.noreply.github.com>
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.

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

1 participant