How to generate OpenAPI Swagger from Avro schema

I want to create an OpenAPI schema(swagger yaml) from an avro schema using the open api generator tool. But not able to identify is that supported to not. Is there another way to get OpenAPI schema from an avro schema either using any online tool or programmatically?

Hi,

That’s a great question. I don’t know off the top of my head if such tooling exists.

But looks to me that that the OpenAPI schema is closely related to the JSON Schema spec, so this online avro-to-json-schema converter tool might do the trick. At a minimum, it may at least get you very close to what you need.

HTH,
Bill