DEV Community

Discussion on: Type Definitions as API Specification

Collapse
 
krysalead profile image
Krys Alead

Hi, thanks for rising this point. I personally solved the issue by writing my server controller in typescript with tsoa annotations that generate a swagger. From it I can generate the ui stub. So, the server and client are sync.

Collapse
 
loreanvictor profile image
Eugene Ghanizadeh

Yes I've also seen TSOA and it seems pretty close in concept, though still it bears some overhead compared to TyFON (and of course in exchange it is more flexible and versatile).