roles added for register

This commit is contained in:
2026-03-20 18:02:37 +05:00
parent e5a80c8ae7
commit 82e5e77ef5
2 changed files with 32 additions and 1 deletions

View File

@@ -98,7 +98,7 @@ components:
RegisterRequest:
type: object
required: [email, password, fullName]
required: [email, password, fullName, role]
properties:
email:
type: string
@@ -108,6 +108,9 @@ components:
minLength: 8
fullName:
type: string
role:
type: string
enum: [admin, manager, driver, client]
LoginRequest:
type: object