cloudfoundry/go-cfclient

/v3/routes is missing destinations array

MB175 opened this issue · 2 comments

MB175 commented

The routes object does contain a destination array linking target apps of domains
https://v3-apidocs.cloudfoundry.org/version/3.126.0/index.html#the-route-object

The current V3Route struct is missing the destination array

type V3Route struct {
	Guid          string                         `json:"guid"`
	Host          string                         `json:"host"`
	Path          string                         `json:"path"`
	Url           string                         `json:"url"`
	CreatedAt     time.Time                      `json:"created_at"`
	UpdatedAt     time.Time                      `json:"updated_at"`
	Metadata      Metadata                       `json:"metadata"`
	Relationships map[string]V3ToOneRelationship `json:"relationships"`
	Links         map[string]Link                `json:"links"`
}
MB175 commented

PR: fixed struct #318

MB175 commented

Solved through #318