refactor: moved and removed unused code
This commit is contained in:
parent
b47c29cf5a
commit
1198b326c1
@ -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"`
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user