mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-20 15:31:24 +02:00
chore: update swagger add h2c scheme type
This commit is contained in:
@@ -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"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user