3 ms·
It's doable if you really want to: https://docs.nestjs.com/openapi/cli-plugin#overview https://docs.nestjs.com/openapi/cli-plugin#overview (Also doable without
by BoorishBears 2y ago
It's doable if you really want to: https://docs.nestjs.com/openapi/cli-plugin#overview https://docs.nestjs.com/openapi/cli-plugin#overview
(Also doable without a compiler step, but since it's TS one more compiler step isn't the end of the world: https://docs.nestjs.com/techniques/validation#auto-validation https://docs.nestjs.com/techniques/validation#auto-validatio...)
- adhamsalama 2y agoI do use this. It's not as seamless as using FastAPI. Also not as type-safe as FastAPI. You can simply type a class variable as an int while the validation decorator works on a completely different type. It's an illusion of type safety.