api-dto
Installation
SKILL.md
API DTO
Purpose
Generate Data Transfer Objects (DTOs) with class-validator decorators, transformation logic, partial DTOs for updates, and response DTOs that exclude sensitive fields.
When to Use
- Creating request/response DTOs
- Adding validation to inputs
- Type-safe API contracts
- Excluding sensitive fields from responses