pub async fn register(
__arg0: State<ApiState>,
__arg1: Json<RegisterRequest>,
) -> ApiResponse<RegisterResponse>Expand description
POST /auth/register — create a new user account.
Validates username format, password complexity, and email uniqueness before persisting the new user.