You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that there is no tool to generate the AsyncAPI spec from a TS codebase.
A similar tool for OpenAPI generation is tsoa. There you use TS Decorators to annotate your express/Koa endpoint to fill the spec.
It would be amazing to a library independent tool so that you can use ws, socket.io or any other one.
Also if you have any ideas on how to achieve this just put it here for a future reference.
Sadly I am not proficient enough with the spec and the TS internals.
You would definitely have a first user or tester if you try this 😉
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I noticed that there is no tool to generate the AsyncAPI spec from a TS codebase.
A similar tool for OpenAPI generation is tsoa. There you use TS Decorators to annotate your express/Koa endpoint to fill the spec.
It would be amazing to a library independent tool so that you can use ws, socket.io or any other one.
Also if you have any ideas on how to achieve this just put it here for a future reference.
Sadly I am not proficient enough with the spec and the TS internals.
You would definitely have a first user or tester if you try this 😉
Beta Was this translation helpful? Give feedback.
All reactions