of the Cat * @example Kitty */ name: string; @ApiProperty({ example: 1, description: 'The age of the Cat' }) age: number; @ApiProperty({ example: 'Maine Coon', description: 'The breed of the Cat', }) breed: string; } https://github.com/nestjs/nest/tree/master/sample/11-swagger