https://github.com/acacode/swagger-typescript-api with Axios driver
It is client API. I was talking about server API. For example express.js or fastify-based.
Thanks for pointers. I'm afraid, that's a bit wrong direction. I'm talking about spec-first development. This project generates spec from sources.
For now I think I'm going to use zod, as it seems popular enough and pragmatic enough.
I love TypeScript, I love node, but I so much hate all the associated tooling. It's incredibly terrible. I don't want to make a single choice. I want a single build system which does everything good enough. I want a single "Spring Boot" framework which does everything good enough. I want a single linter, which built into my IDE and does not require me to exclude my dist folder. I don't want to configure my TypeScript compiler, it should be smart enough to configure itself. I don't want to spend days reading about project references, npm workspaces and other stuff. I want to create few folders like I do with maven and it's just works. I don't want to browse 10 different libraries for typings (why is it even needed for typescript???). I want things like JSON parsing and validation to be built into language or stdlib.
I hate go language. But their tooling is so right that I can withstand all those `if err != nil` every second line.