feat: add openapi spec generation

This commit is contained in:
zhom
2025-11-29 23:32:49 +04:00
parent 44b5e71593
commit 4683410a2c
4 changed files with 561 additions and 89 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
use serde::{Deserialize, Serialize};
use std::path::{Path, PathBuf};
use utoipa::ToSchema;
#[derive(Debug, Clone, Serialize, Deserialize)]
#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]
pub struct ProxySettings {
pub proxy_type: String, // "http", "https", "socks4", or "socks5"
pub host: String,