refactor: Clean up unused imports and improve error handling in middleware and DTOs

This commit is contained in:
MythEclipse
2025-10-23 22:44:32 +07:00
parent 6915a97d79
commit 3fcfb3709e
7 changed files with 47 additions and 18 deletions
@@ -4,7 +4,6 @@ use regex::Regex;
use serde::{Deserialize, Serialize};
use utoipa::{ToSchema, schema};
use validator::{Validate, ValidationError};
use serde_json::Value;
// Custom validators
pub fn validate_url_format(url: &str) -> Result<(), ValidationError> {