From f675a12790b4b1ac4579948e53136a21fc7ea6fd Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Mon, 20 Oct 2025 16:33:49 +0200 Subject: [PATCH] Added Register DTO --- identity/dto/auth.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/identity/dto/auth.go b/identity/dto/auth.go index 2440a2e..4efdb06 100644 --- a/identity/dto/auth.go +++ b/identity/dto/auth.go @@ -8,3 +8,13 @@ type AuthLoginRequestDTO struct { type AuthLoginResponseDTO struct { Token string `json:"jwt_token"` } + +type AuthRegisterRequestDTO struct { + Email string `json:"email"` + Username string `json:"username"` + Password string `json:"password"` +} + +type AuthRegisterResponseDTO struct { + ID string `json:"id"` +}