gohorsejobs/backend/internal/router
Tiago Yamamoto 786ef42d8a feat: add complete support ticket CRUD operations
Backend Service:
- UpdateTicket: update status/priority (owner or admin)
- CloseTicket: convenience method to set status=closed
- DeleteTicket: admin only, removes ticket and messages
- ListAllTickets: admin only, with optional status filter

Handlers:
- PATCH /api/v1/support/tickets/{id} - update ticket
- PATCH /api/v1/support/tickets/{id}/close - close ticket
- DELETE /api/v1/support/tickets/{id} - delete ticket (admin)
- GET /api/v1/support/tickets/all - list all tickets (admin)

All endpoints with Swagger annotations
2025-12-26 16:16:05 -03:00
..
router.go feat: add complete support ticket CRUD operations 2025-12-26 16:16:05 -03:00
router_test.go fix(backend): consolidated duplicate routes, fixed E2E tests for UUIDs and paths 2025-12-24 13:42:45 -03:00