Skip to content

Conversation

@VisualBean
Copy link
Contributor

@VisualBean VisualBean commented Jun 18, 2025

About the PR

AsyncAPI 3.0 supports additional schemas, also outside of the traditional ones.
This feature refactors existing schema parsing and adds a new SchemaParserRegistry.

A new readersetting propery has been added SchemaParserRegistry here you can register additional parsers if you have a need for new schemas that either aren't supported or something completely custom.

var settings = new AsyncApiReaderSettings();
settings.SchemaParserRegistry.RegisterParser(new MySchemaParser());

note that jsonschema and avro still is the default support.

Changelog

  • Add: new SchemaParserRegistry for holding schema parsers aside from the default JsonSchema and avro
  • Refactor: existing parsers to use the new model.
  • Refactor: MultiFormatSchema Deserializer now uses the SchemaParserRegistry.

@VisualBean VisualBean merged commit d852d02 into vnext Jun 18, 2025
12 checks passed
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.

2 participants