Add api/v1/config/normalsub/... schemas
This commit is contained in:
@ -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
|
||||
Reference in New Issue
Block a user