Skip to content

Improve anyOf error handler #93

@arpitkuriyal

Description

@arpitkuriyal

The current anyOf error handler needs improvements to provide better error messages and handling.

Tasks:

  • Add better error when a discriminator is identified but none of the alternatives match
  • Handle alternatives that do not explicitly define a type
  • Replace the generic anyOf fallback with a richer and more helpful summary

Goal:
Provide clearer and more actionable anyOf validation errors.

This issue tracks overall improvements. Detailed work is broken down into sub-issues.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions