From 3d0daae0f411a6d64a8543a839bcf69b1d2520ce Mon Sep 17 00:00:00 2001 From: Iam54r1n4 Date: Sun, 26 Jan 2025 11:52:56 +0000 Subject: [PATCH] Add api/v1/config/singbox/... schemas --- .../webpanel/routers/api/v1/schema/config/singbox.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 core/scripts/webpanel/routers/api/v1/schema/config/singbox.py diff --git a/core/scripts/webpanel/routers/api/v1/schema/config/singbox.py b/core/scripts/webpanel/routers/api/v1/schema/config/singbox.py new file mode 100644 index 0000000..cdd2d2a --- /dev/null +++ b/core/scripts/webpanel/routers/api/v1/schema/config/singbox.py @@ -0,0 +1,6 @@ +from pydantic import BaseModel + + +class StartInputBody(BaseModel): + domain: str + port: int