chore: update swagger add h2c scheme type

This commit is contained in:
yusing
2026-01-01 18:56:11 +08:00
parent b6ed9abbb3
commit 021c560ff7
3 changed files with 5 additions and 1 deletions

View File

@@ -44,7 +44,7 @@ type (
_ utils.NoCopy
Alias string `json:"alias"`
Scheme route.Scheme `json:"scheme,omitempty" swaggertype:"string" enums:"http,https,tcp,udp,fileserver"`
Scheme route.Scheme `json:"scheme,omitempty" swaggertype:"string" enums:"http,https,h2c,tcp,udp,fileserver"`
Host string `json:"host,omitempty"`
Port route.Port `json:"port"`