cloudfoundry/cloud_controller_ng

`PATCH /v3/routes/:guid/destinations/:guid` response has typo in `destinations`

svkrieger opened this issue · 0 comments

Issue

When updating a destination PATCH /v3/routes/:guid/destinations/:guid the returned structure has a typo destintions instead of destinations in the links section:

{
  "guid": "f7cb80b4-a939-4129-bb57-a30ea4a402ad",
  "app": {
    "guid": "95f0216a-e597-411c-bd64-4fb84c9ce6c8",
    "process": {
      "type": "web"
    }
  },
  "weight": null,
  "port": 8080,
  "protocol": "http1",
  "links": {
    "destintions": {
      "href": "https://api.cf.stagingaws.hanavlab.ondemand.com/v3/routes/1b827c0b-95e6-49ad-9ee3-98f158b60b29/destinations"
    },
    "route": {
      "href": "https://api.cf.stagingaws.hanavlab.ondemand.com/v3/routes/1b827c0b-95e6-49ad-9ee3-98f158b60b29"
    }
  }
}

Steps to Reproduce

update an destination with PATCH /v3/routes/:guid/destinations/:guid

Expected result

links contains destinations

Current result

links contains destintions

Possible Fix

Fix the typo. I checked cloudfoundry and cloudfoundry-community GitHub orgs and found no usage of the typo.