Skip to content

DGS-23342 Minor enhancement to JSON Schema validation reporting#434

Merged
Robert Yokota (rayokota) merged 2 commits intomasterfrom
enhance-json-validation
Jan 23, 2026
Merged

DGS-23342 Minor enhancement to JSON Schema validation reporting#434
Robert Yokota (rayokota) merged 2 commits intomasterfrom
enhance-json-validation

Conversation

@rayokota
Copy link
Member

@rayokota Robert Yokota (rayokota) commented Jan 23, 2026

Minor enhancement to JSON Schema validation reporting

What

Checklist

  • Contains customer facing changes? Including API/behavior changes
  • Did you add sufficient unit test and/or integration test coverage for this PR?
    • If not, please explain why it is not required

References

JIRA:

Test & Review

Open questions / Follow-ups

Copilot AI review requested due to automatic review settings January 23, 2026 18:02
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances JSON schema validation error messages by including detailed validation errors from AJV validators, making it easier to diagnose validation failures. Previously, validation failures only threw a generic "Invalid message" error.

Changes:

  • Enhanced error messages to include AJV validation error details
  • Configured AJV validators to collect all validation errors instead of stopping at the first error

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rayokota Robert Yokota (rayokota) changed the title Improve JSON schema validation messages Minor enhancement to JSON Schema validation reporting Jan 23, 2026
@rayokota Robert Yokota (rayokota) changed the title Minor enhancement to JSON Schema validation reporting DGS-23342 Minor enhancement to JSON Schema validation reporting Jan 23, 2026
@rayokota Robert Yokota (rayokota) merged commit b8c131e into master Jan 23, 2026
2 checks passed
@rayokota Robert Yokota (rayokota) deleted the enhance-json-validation branch January 23, 2026 18:50
@sonarqube-confluent
Copy link

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.

3 participants