How can this library be made to support additional schema formats? #134
-
I have an AsyncAPI document that this library doesn't read properly because it uses The reader's diagnostics include the message
Is there an extensibility point in the Reader that will allow me to introduce support for other schema formats? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Sorry i didn't catch up with this earlier. The current implementation is coded against the asyncapi schema format, Which differs from openapi v3 for some fields and validations. |
Beta Was this translation helpful? Give feedback.
-
Hi @mike-schenk OAS should be easy to implement at this point. Basically what you will need, is this;
|
Beta Was this translation helpful? Give feedback.
Hi @mike-schenk
Ive now refactored and added support for Avro Schemas.
OAS should be easy to implement at this point.
see #170
Basically what you will need, is this;
AsyncApiSchema
).AsyncApiSchemaDeserializer
).AsyncApiMessageDeserializer
and forward the payload loading to the prior mentioned deserializer.