mnahkies/openapi-code-generator

Investigate supporting async api

Opened this issue · 1 comments

Async API is a specification for describing event driven architecture, that aims to keep near compatibility with openapi specifications:

Part of this content has been taken from the great work done by the folks at the OpenAPI Initiative. Mainly because it's a great work and we want to keep as much compatibility as possible with the OpenAPI Specification.

It would be good to investigate adding support for this, possible templates could include:

  • GCP PubSub
  • AWS SNS/SQS
  • Azure Service Bus
  • RabbitMQ
  • Kafka
  • ZeroMQ

https://www.asyncapi.com/docs/tutorials/getting-started/coming-from-openapi

I was looking to add this to one of my golang projects a while ago, but due to their limited support, they don't currently offer a standard or native websocket solution for it, instead they use watermil and only support RabbitMQ as the provider, which made it clear it wasn't an option without a custom template.

However for node, they already offer @asyncapi/nodejs-ws-template as a template, which is just a standard websocket solution with no third party requirements, which I would love to see this as an option here, if you do in the future plan to offer Async API with the generation.