After a lot of researches and tries most of the tools (e.g. Typewriter) and libs (e.g. Nswag, Kiota), nothing can satify my very simple requirement (a very simple transformation from C# to TS).
In the end, I decided to implement the tool myself using the following libraries:
Find more details in this post: https://kalcancode.wordpress.com/2025/06/02/how-to-build-a-c-to-typescript-generator-tools-and-ideas/