generator
generator copied to clipboard
explore how to take advantage of the fact that AsyncAPI document contains different handlers definitions
if we have AsyncAPI document, like Slack one, that has 3 operations, why not generate code that understands it? Meaning enable client user to write custom logic only for hello message, so generated code understands incomming message, understand it is hello message, so the dedicated handler is triggered only if hello message is sent. So the client user do not have to learn docs, identify messages and learn how to validate and react to them