Coding task · NestJS course · Module 11: Swagger and OpenAPI
Decorating a DTO with @ApiProperty
Add @ApiProperty and @ApiPropertyOptional decorators to the DTO class.
Task
Complete CreateCenturioDto by adding @ApiProperty with description and example to each field