Why do we need this improvement?
While working on adding Avro validation in the AsyncAPI CLI
(asyncapi/cli#1833
), we noticed that proper validation needs to happen in this repository.
Currently, Avro schemas with invalid definitions (e.g. type: notexisting) are parsed without errors, which causes the CLI to incorrectly report them as valid.
cc: @M3lkior @dalelane
Please let me know if I can start working on this.
How will this change help?
- Detect invalid Avro schemas early
- Allow CLI and other tools to report correct validation errors
- Improve correctness when using Avro with AsyncAPI
Screenshots
No response
How could it be implemented/designed?
Add semantic validation for Avro schemas during parsing
Report clear validation errors for invalid types and structures
Expose validation results so downstream tools (like the CLI) can reuse them
🚧 Breaking changes
No
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue?
Yes I am willing to submit a PR!
Why do we need this improvement?
While working on adding Avro validation in the AsyncAPI CLI
(asyncapi/cli#1833
), we noticed that proper validation needs to happen in this repository.
Currently, Avro schemas with invalid definitions (e.g. type: notexisting) are parsed without errors, which causes the CLI to incorrectly report them as valid.
cc: @M3lkior @dalelane
Please let me know if I can start working on this.
How will this change help?
Screenshots
No response
How could it be implemented/designed?
Add semantic validation for Avro schemas during parsing
Report clear validation errors for invalid types and structures
Expose validation results so downstream tools (like the CLI) can reuse them
🚧 Breaking changes
No
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue?
Yes I am willing to submit a PR!