text/csv. String fields are quoted and spreadsheet formulas are escaped.
Configure exports
The default export limit is1000. Change it or disable export independently:
/export to many.path, so the example above is served at /todo-items/reports/todo-items/export.
Export a different shape
UseExportDTOClass to select CSV columns without changing the normal response DTO. Decorated fields are serialized in the export, and their property names become the CSV headers.
todo-item-export.dto.ts