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