I have used Swagger to generate a document for rest API, but I am building Kafka listener and wanted to generate a document for it. Do we have any possibility using Swagger or something similar?
Thanks, Manish
I have faced the same need, and decided to create something myself.
I call it swagger4kafka, and it works very similar to swagger, but it documents @KafkaListener
annotated methods instead of RestController
methods.
Its source is hosted in github: swagger4kafka repository In the readme section you can find how to use it.
I would not say it is production ready yet, but I think it can be quite useful for internal use.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With