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