From acd131278f39195c056bf0083ab8e856e1fca35e Mon Sep 17 00:00:00 2001 From: Iam54r1n4 Date: Sun, 26 Jan 2025 11:51:34 +0000 Subject: [PATCH] Add api/v1/config/normalsub/... schemas --- .../webpanel/routers/api/v1/schema/config/normalsub.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 core/scripts/webpanel/routers/api/v1/schema/config/normalsub.py diff --git a/core/scripts/webpanel/routers/api/v1/schema/config/normalsub.py b/core/scripts/webpanel/routers/api/v1/schema/config/normalsub.py new file mode 100644 index 0000000..10933a9 --- /dev/null +++ b/core/scripts/webpanel/routers/api/v1/schema/config/normalsub.py @@ -0,0 +1,9 @@ +from pydantic import BaseModel + +# The StartInputBody is the same as in /hysteria/core/scripts/webpanel/routers/api/v1/schema/config/singbox.py but for /normalsub endpoint +# I'm defining it separately because highly likely it'll be different + + +class StartInputBody(BaseModel): + domain: str + port: int