4 ms·
Tell me how to have automatic documentation and validation like FastAPI using anything in Node.js and I will use it immediately. Note: NestJS isn't it.
by adhamsalama 2y ago
Tell me how to have automatic documentation and validation like FastAPI using anything in Node.js and I will use it immediately.
Note: NestJS isn't it.
- code_biologist 2y agoDo OpenAPI Swagger docs count? That seems to be the route a ton of the ecosystem takes. trpc, ts-rest, and express-zod-api all explicitly build on zod and can do validation + Swagger UI generation. hono looks like it doesn't do that by default, but single-source-of-truth validation + Swagger UI are available as middleware via `@hono/zod-openapi`.