Add api/v1/config/normalsub/... schemas

This commit is contained in:
Iam54r1n4
2025-01-26 11:51:34 +00:00
parent f53e5b84c2
commit acd131278f

View File

@ -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