# Functions
ExportTasks godoc @Summary Export tasks to JSON or CSV @Description Export all tasks to JSON or CSV format based on the requested file format @Tags tasks @Produce json @Param format query string true "Export format" Enums(json, csv) @Success 200 {string} string "File exported successfully" @Failure 400 {object} models.ErrorResponse @Failure 500 {object} models.ErrorResponse @Router /tasks/export [get].