In AsyncAPI, a channel can have a publish and
subscribe operation. This can be confusing, depending on which perspective
you’re considering (server vs. user) and what you’re comparing against (eg.
WebSocket).
In this blog post, I want to go through an example to show you how to construct
your AsyncAPI file with the right publish and subscribe semantics. As a
bonus, I also show you how to refactor your AsyncAPI files with common
configuration.
