refactor: moved and removed unused code

This commit is contained in:
Jean Jacques Avril 2025-03-12 11:09:00 +00:00
parent b47c29cf5a
commit 1198b326c1
2 changed files with 0 additions and 19 deletions

View File

@ -1,19 +0,0 @@
package utils
import (
dto "github.com/timetracker/backend/internal/dtos"
)
// This file contains type definitions for Swagger documentation
// LoginRequest is a Swagger representation of LoginDto
type LoginRequest struct {
Email string `json:"email" example:"user@example.com"`
Password string `json:"password" example:"SecurePassword123!"`
}
// TokenResponse is a Swagger representation of TokenDto
type TokenResponse struct {
Token string `json:"token" example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."`
User dto.UserDto `json:"user"`
}