{"openapi":"3.0.3","info":{"title":"API de Gestión de Tareas Personales","version":"1.0.0","description":"API REST didáctica para la gestión de tareas personales, inspirada en aplicaciones\ncomo Any.do o Todoist.\n\nPermite:\n  - registro e inicio de sesión\n  - administración de perfil\n  - gestión de proyectos\n  - gestión de etiquetas\n  - creación y seguimiento de tareas\n  - recordatorios y marcado de completitud\n\nEsta especificación está diseñada para ser compatible con Swagger Editor Online.\n","contact":{"name":"Equipo de Arquitectura API","email":"api@example.com"}},"servers":[{"url":"https://api.taskflow.example.com/v1","description":"Producción"},{"url":"https://sandbox.taskflow.example.com/v1","description":"Sandbox"}],"tags":[{"name":"Auth","description":"Autenticación y autorización"},{"name":"Users","description":"Operaciones del usuario autenticado"},{"name":"Projects","description":"Gestión de proyectos o listas"},{"name":"Labels","description":"Gestión de etiquetas"},{"name":"Tasks","description":"Gestión de tareas personales"},{"name":"Reminders","description":"Gestión de recordatorios asociados a tareas"}],"paths":{"/auth/register":{"post":{"tags":["Auth"],"summary":"Registrar un nuevo usuario","operationId":"registerUser","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRequest"},"examples":{"ejemplo":{"value":{"fullName":"Ana Pérez","email":"ana@example.com","password":"StrongPass123","timezone":"America/Argentina/Buenos_Aires"}}}}}},"responses":{"201":{"description":"Usuario registrado correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"409":{"description":"El correo ya está registrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/login":{"post":{"tags":["Auth"],"summary":"Iniciar sesión","operationId":"loginUser","security":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"},"examples":{"ejemplo":{"value":{"email":"ana@example.com","password":"StrongPass123"}}}}}},"responses":{"200":{"description":"Inicio de sesión exitoso","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthResponse"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/users/me":{"get":{"tags":["Users"],"summary":"Obtener perfil del usuario autenticado","operationId":"getCurrentUser","responses":{"200":{"description":"Perfil recuperado correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}},"patch":{"tags":["Users"],"summary":"Actualizar perfil del usuario autenticado","operationId":"updateCurrentUser","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserRequest"},"examples":{"ejemplo":{"value":{"fullName":"Ana María Pérez","timezone":"America/Argentina/Buenos_Aires"}}}}}},"responses":{"200":{"description":"Perfil actualizado correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/projects":{"get":{"tags":["Projects"],"summary":"Listar proyectos del usuario","operationId":"listProjects","parameters":[{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"},{"name":"archived","in":"query","description":"Filtrar por proyectos archivados o activos","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Lista de proyectos","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectListResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}},"post":{"tags":["Projects"],"summary":"Crear un nuevo proyecto","operationId":"createProject","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectRequest"},"examples":{"ejemplo":{"value":{"name":"Trabajo","color":"#3B82F6","isFavorite":true}}}}}},"responses":{"201":{"description":"Proyecto creado correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/projects/{projectId}":{"get":{"tags":["Projects"],"summary":"Obtener un proyecto por ID","operationId":"getProjectById","parameters":[{"$ref":"#/components/parameters/ProjectId"}],"responses":{"200":{"description":"Proyecto encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}},"patch":{"tags":["Projects"],"summary":"Actualizar un proyecto","operationId":"updateProject","parameters":[{"$ref":"#/components/parameters/ProjectId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProjectRequest"}}}},"responses":{"200":{"description":"Proyecto actualizado correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"tags":["Projects"],"summary":"Eliminar un proyecto","operationId":"deleteProject","parameters":[{"$ref":"#/components/parameters/ProjectId"}],"responses":{"204":{"description":"Proyecto eliminado correctamente"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/labels":{"get":{"tags":["Labels"],"summary":"Listar etiquetas del usuario","operationId":"listLabels","responses":{"200":{"description":"Lista de etiquetas","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LabelListResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}},"post":{"tags":["Labels"],"summary":"Crear una etiqueta","operationId":"createLabel","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLabelRequest"},"examples":{"ejemplo":{"value":{"name":"urgente","color":"#EF4444"}}}}}},"responses":{"201":{"description":"Etiqueta creada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/labels/{labelId}":{"get":{"tags":["Labels"],"summary":"Obtener una etiqueta por ID","operationId":"getLabelById","parameters":[{"$ref":"#/components/parameters/LabelId"}],"responses":{"200":{"description":"Etiqueta encontrada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}},"patch":{"tags":["Labels"],"summary":"Actualizar una etiqueta","operationId":"updateLabel","parameters":[{"$ref":"#/components/parameters/LabelId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLabelRequest"}}}},"responses":{"200":{"description":"Etiqueta actualizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Label"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"tags":["Labels"],"summary":"Eliminar una etiqueta","operationId":"deleteLabel","parameters":[{"$ref":"#/components/parameters/LabelId"}],"responses":{"204":{"description":"Etiqueta eliminada correctamente"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/tasks":{"get":{"tags":["Tasks"],"summary":"Listar tareas del usuario","operationId":"listTasks","parameters":[{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"},{"name":"status","in":"query","description":"Filtrar por estado de la tarea","required":false,"schema":{"type":"string","enum":["pending","completed","archived"]}},{"name":"priority","in":"query","description":"Filtrar por prioridad","required":false,"schema":{"type":"integer","minimum":1,"maximum":4}},{"name":"projectId","in":"query","description":"Filtrar por proyecto","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"labelId","in":"query","description":"Filtrar por etiqueta","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"dueDateFrom","in":"query","description":"Fecha mínima de vencimiento","required":false,"schema":{"type":"string","format":"date"}},{"name":"dueDateTo","in":"query","description":"Fecha máxima de vencimiento","required":false,"schema":{"type":"string","format":"date"}},{"name":"search","in":"query","description":"Texto a buscar en título o descripción","required":false,"schema":{"type":"string","maxLength":100}}],"responses":{"200":{"description":"Lista de tareas","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskListResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}},"post":{"tags":["Tasks"],"summary":"Crear una nueva tarea","operationId":"createTask","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTaskRequest"},"examples":{"ejemplo":{"value":{"title":"Preparar presentación del lunes","description":"Revisar métricas y actualizar diapositivas","projectId":"11111111-1111-1111-1111-111111111111","priority":1,"dueDate":"2026-04-25","labelIds":["22222222-2222-2222-2222-222222222222"],"reminderAt":"2026-04-24T18:00:00Z"}}}}}},"responses":{"201":{"description":"Tarea creada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/tasks/{taskId}":{"get":{"tags":["Tasks"],"summary":"Obtener una tarea por ID","operationId":"getTaskById","parameters":[{"$ref":"#/components/parameters/TaskId"}],"responses":{"200":{"description":"Tarea encontrada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}},"patch":{"tags":["Tasks"],"summary":"Actualizar una tarea","operationId":"updateTask","parameters":[{"$ref":"#/components/parameters/TaskId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTaskRequest"}}}},"responses":{"200":{"description":"Tarea actualizada correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"tags":["Tasks"],"summary":"Eliminar una tarea","operationId":"deleteTask","parameters":[{"$ref":"#/components/parameters/TaskId"}],"responses":{"204":{"description":"Tarea eliminada correctamente"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/tasks/{taskId}/complete":{"post":{"tags":["Tasks"],"summary":"Marcar una tarea como completada","operationId":"completeTask","parameters":[{"$ref":"#/components/parameters/TaskId"}],"responses":{"200":{"description":"Tarea marcada como completada","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/tasks/{taskId}/reopen":{"post":{"tags":["Tasks"],"summary":"Reabrir una tarea completada","operationId":"reopenTask","parameters":[{"$ref":"#/components/parameters/TaskId"}],"responses":{"200":{"description":"Tarea reabierta correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/tasks/{taskId}/reminders":{"get":{"tags":["Reminders"],"summary":"Listar recordatorios de una tarea","operationId":"listTaskReminders","parameters":[{"$ref":"#/components/parameters/TaskId"}],"responses":{"200":{"description":"Lista de recordatorios de la tarea","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReminderListResponse"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}},"post":{"tags":["Reminders"],"summary":"Crear un recordatorio para una tarea","operationId":"createTaskReminder","parameters":[{"$ref":"#/components/parameters/TaskId"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateReminderRequest"},"examples":{"ejemplo":{"value":{"remindAt":"2026-04-24T18:00:00Z","channel":"push"}}}}}},"responses":{"201":{"description":"Recordatorio creado correctamente","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Reminder"}}}},"400":{"$ref":"#/components/responses/BadRequest"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/tasks/{taskId}/reminders/{reminderId}":{"get":{"tags":["Reminders"],"summary":"Obtener un recordatorio por ID","operationId":"getTaskReminderById","parameters":[{"$ref":"#/components/parameters/TaskId"},{"$ref":"#/components/parameters/ReminderId"}],"responses":{"200":{"description":"Recordatorio encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Reminder"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"tags":["Reminders"],"summary":"Eliminar un recordatorio","operationId":"deleteTaskReminder","parameters":[{"$ref":"#/components/parameters/TaskId"},{"$ref":"#/components/parameters/ReminderId"}],"responses":{"204":{"description":"Recordatorio eliminado correctamente"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"parameters":{"TaskId":{"name":"taskId","in":"path","required":true,"description":"Identificador único de la tarea","schema":{"type":"string","format":"uuid"}},"ProjectId":{"name":"projectId","in":"path","required":true,"description":"Identificador único del proyecto","schema":{"type":"string","format":"uuid"}},"LabelId":{"name":"labelId","in":"path","required":true,"description":"Identificador único de la etiqueta","schema":{"type":"string","format":"uuid"}},"ReminderId":{"name":"reminderId","in":"path","required":true,"description":"Identificador único del recordatorio","schema":{"type":"string","format":"uuid"}},"Limit":{"name":"limit","in":"query","required":false,"description":"Cantidad máxima de elementos a devolver","schema":{"type":"integer","minimum":1,"maximum":100,"default":20}},"Offset":{"name":"offset","in":"query","required":false,"description":"Número de elementos a omitir","schema":{"type":"integer","minimum":0,"default":0}}},"responses":{"BadRequest":{"description":"Solicitud inválida","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"Unauthorized":{"description":"No autenticado o token inválido","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"Recurso no encontrado","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"RegisterRequest":{"type":"object","required":["fullName","email","password"],"properties":{"fullName":{"type":"string","minLength":2,"maxLength":100,"example":"Ana Pérez"},"email":{"type":"string","format":"email","example":"ana@example.com"},"password":{"type":"string","minLength":8,"maxLength":128,"example":"StrongPass123"},"timezone":{"type":"string","maxLength":100,"example":"America/Argentina/Buenos_Aires"}}},"LoginRequest":{"type":"object","required":["email","password"],"properties":{"email":{"type":"string","format":"email","example":"ana@example.com"},"password":{"type":"string","minLength":8,"maxLength":128,"example":"StrongPass123"}}},"AuthResponse":{"type":"object","required":["accessToken","tokenType","expiresIn","user"],"properties":{"accessToken":{"type":"string","example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.example"},"tokenType":{"type":"string","example":"Bearer"},"expiresIn":{"type":"integer","example":3600},"user":{"$ref":"#/components/schemas/User"}}},"User":{"type":"object","required":["id","fullName","email","timezone","createdAt","updatedAt"],"properties":{"id":{"type":"string","format":"uuid","example":"7b9b8d8a-6d31-4ca8-a4ab-f9df71d13d2d"},"fullName":{"type":"string","example":"Ana Pérez"},"email":{"type":"string","format":"email","example":"ana@example.com"},"timezone":{"type":"string","example":"America/Argentina/Buenos_Aires"},"createdAt":{"type":"string","format":"date-time","example":"2026-04-20T10:00:00Z"},"updatedAt":{"type":"string","format":"date-time","example":"2026-04-21T12:30:00Z"}}},"UpdateUserRequest":{"type":"object","properties":{"fullName":{"type":"string","minLength":2,"maxLength":100},"timezone":{"type":"string","maxLength":100},"password":{"type":"string","minLength":8,"maxLength":128}},"additionalProperties":false},"Project":{"type":"object","required":["id","name","color","isFavorite","archived","createdAt","updatedAt"],"properties":{"id":{"type":"string","format":"uuid","example":"11111111-1111-1111-1111-111111111111"},"name":{"type":"string","example":"Trabajo"},"color":{"type":"string","pattern":"^#([A-Fa-f0-9]{6})$","example":"#3B82F6"},"isFavorite":{"type":"boolean","example":true},"archived":{"type":"boolean","example":false},"createdAt":{"type":"string","format":"date-time","example":"2026-04-20T10:00:00Z"},"updatedAt":{"type":"string","format":"date-time","example":"2026-04-21T12:30:00Z"}}},"CreateProjectRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":1,"maxLength":80},"color":{"type":"string","pattern":"^#([A-Fa-f0-9]{6})$"},"isFavorite":{"type":"boolean","default":false}},"additionalProperties":false},"UpdateProjectRequest":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"color":{"type":"string","pattern":"^#([A-Fa-f0-9]{6})$"},"isFavorite":{"type":"boolean"},"archived":{"type":"boolean"}},"additionalProperties":false},"Label":{"type":"object","required":["id","name","color","createdAt"],"properties":{"id":{"type":"string","format":"uuid","example":"22222222-2222-2222-2222-222222222222"},"name":{"type":"string","example":"urgente"},"color":{"type":"string","pattern":"^#([A-Fa-f0-9]{6})$","example":"#EF4444"},"createdAt":{"type":"string","format":"date-time","example":"2026-04-20T10:00:00Z"}}},"CreateLabelRequest":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":1,"maxLength":40},"color":{"type":"string","pattern":"^#([A-Fa-f0-9]{6})$"}},"additionalProperties":false},"UpdateLabelRequest":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"color":{"type":"string","pattern":"^#([A-Fa-f0-9]{6})$"}},"additionalProperties":false},"Task":{"type":"object","required":["id","title","status","priority","labels","completed","createdAt","updatedAt"],"properties":{"id":{"type":"string","format":"uuid","example":"33333333-3333-3333-3333-333333333333"},"title":{"type":"string","example":"Preparar presentación del lunes"},"description":{"type":"string","nullable":true,"example":"Revisar métricas y actualizar diapositivas"},"status":{"type":"string","enum":["pending","completed","archived"],"example":"pending"},"priority":{"type":"integer","description":"1 es la prioridad más alta y 4 la más baja","minimum":1,"maximum":4,"example":1},"dueDate":{"type":"string","format":"date","nullable":true,"example":"2026-04-25"},"completed":{"type":"boolean","example":false},"completedAt":{"type":"string","format":"date-time","nullable":true,"example":null},"project":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/ProjectSummary"}]},"labels":{"type":"array","items":{"$ref":"#/components/schemas/Label"}},"reminders":{"type":"array","items":{"$ref":"#/components/schemas/Reminder"}},"createdAt":{"type":"string","format":"date-time","example":"2026-04-20T10:00:00Z"},"updatedAt":{"type":"string","format":"date-time","example":"2026-04-21T12:30:00Z"}}},"ProjectSummary":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","format":"uuid","example":"11111111-1111-1111-1111-111111111111"},"name":{"type":"string","example":"Trabajo"}}},"CreateTaskRequest":{"type":"object","required":["title"],"properties":{"title":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":2000},"projectId":{"type":"string","format":"uuid","nullable":true},"priority":{"type":"integer","minimum":1,"maximum":4,"default":4},"dueDate":{"type":"string","format":"date"},"labelIds":{"type":"array","items":{"type":"string","format":"uuid"}},"reminderAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"UpdateTaskRequest":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":2000,"nullable":true},"projectId":{"type":"string","format":"uuid","nullable":true},"priority":{"type":"integer","minimum":1,"maximum":4},"dueDate":{"type":"string","format":"date","nullable":true},"status":{"type":"string","enum":["pending","completed","archived"]},"labelIds":{"type":"array","items":{"type":"string","format":"uuid"}}},"additionalProperties":false},"Reminder":{"type":"object","required":["id","remindAt","channel","sent","createdAt"],"properties":{"id":{"type":"string","format":"uuid","example":"44444444-4444-4444-4444-444444444444"},"remindAt":{"type":"string","format":"date-time","example":"2026-04-24T18:00:00Z"},"channel":{"type":"string","enum":["push","email"],"example":"push"},"sent":{"type":"boolean","example":false},"createdAt":{"type":"string","format":"date-time","example":"2026-04-21T12:30:00Z"}}},"CreateReminderRequest":{"type":"object","required":["remindAt"],"properties":{"remindAt":{"type":"string","format":"date-time"},"channel":{"type":"string","enum":["push","email"],"default":"push"}},"additionalProperties":false},"ProjectListResponse":{"type":"object","required":["items","total","limit","offset"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Project"}},"total":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}},"LabelListResponse":{"type":"object","required":["items","total"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Label"}},"total":{"type":"integer","example":3}}},"TaskListResponse":{"type":"object","required":["items","total","limit","offset"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Task"}},"total":{"type":"integer","example":15},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}},"ReminderListResponse":{"type":"object","required":["items","total"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Reminder"}},"total":{"type":"integer","example":1}}},"Error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"VALIDATION_ERROR"},"message":{"type":"string","example":"Uno o más campos son inválidos"},"details":{"type":"array","items":{"type":"string"},"example":["El campo email debe tener un formato válido","El campo password debe tener al menos 8 caracteres"]}}}}},"security":[{"bearerAuth":[]}]}