chore: update swagger add h2c scheme type

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

View File

@@ -43,7 +43,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"`