I have been using tsoa to generate API documentation from TypeScript types.
https://github.com/lukeautry/tsoa
Example project: https://github.com/RaedsLab/demo-project/blob/master/backend...
Example project: https://github.com/RaedsLab/demo-project/blob/master/backend...
Not exactly related but we had issues with the official openapi generated so he also wrote a package to codegen typescript client from an openapi file [3]
[0]: https://github.com/lukeautry/tsoa/pulls?q=is%3Apr+sort%3Aupd...
[1]: https://github.com/Eywek/typoa