diff --git a/pkg/models/resources.go b/pkg/models/resources.go index 22e17c9c3f3a138fbca1a5444972bb1c65061522..8e800d91e6c61d823e91f8bdd5c284f86c4c933f 100644 --- a/pkg/models/resources.go +++ b/pkg/models/resources.go @@ -45,7 +45,7 @@ type Gateway struct { // An experimental gateway flags any gateway that, for whatever reason, // is not deemed stable. The expectation is that clients have to opt-in to // experimental gateways (and bridges too). - Experimental bool `json:"experimental"` + Experimental bool `json:"experimental,omitempty"` // Not used now - we could potentially flag gateways that are planned // to undergo maintenance mode some time in advance. // We can also automatically flag as not healthy gateways that appear @@ -68,7 +68,7 @@ type Gateway struct { Overloaded bool `json:"overloaded"` // The (primary) port this gateway is listening on. Port int `json:"port"` - // TCP, UDP or KCP. This was called "protocol" in previous versions of the API. + // TCP, UDP, KCP or Quic. This was called "protocol" in previous versions of the API. Transport string `json:"transport"` // Type is the type of gateway. The only valid type as of 2023 is openvpn. Type string `json:"type"`