diff --git a/api/models/route.go b/api/models/route.go index 9c3c392e5..810eb8cc0 100644 --- a/api/models/route.go +++ b/api/models/route.go @@ -21,9 +21,9 @@ var ( type Routes []*Route type Route struct { - AppName string `json:"appname"` - Path string `json:"path"` - Image string `json:"image"` + AppName string `json:"appname,omitempty"` + Path string `json:"path,omitempty"` + Image string `json:"image,omitempty"` Headers http.Header `json:"headers,omitempty"` }