asyncapi / avro-schema-parser

An AsyncAPI schema parser for Avro 1.x schemas.
Apache License 2.0
31 stars 19 forks source link

[FEATURE] Increased support for AVRO logical types #288

Open charlyannereau opened 2 months ago

charlyannereau commented 2 months ago

Why do we need this improvement?

There is only a partial support of AVRO logical types. For instance, UUID avro logical type is supported and passed through as an output in the JSON schema. On the contrary Date avro logical type is not passed through as an output in the JSON schema.

How will this change help?

Better representation of avro schema. Especially when we render avro schema through html template it would provide a more accurate description of it.

Screenshots

No response

How could it be implemented/designed?

Similarly to how UUID support was implemented, using the jsonSchema format tag.

🚧 Breaking changes

No

👀 Have you checked for similar open issues?

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue?

None

github-actions[bot] commented 2 months ago

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.