Discovered while working on T419576
Linting the OAD example currently raises a wikimedia-paths-parameter-example-exists warning in two locations in the description:
- paths ➤ /customer/getIdByEmail ➤ get ➤ responses ➤ 200 ➤ links ➤ Customer ➤ parameters ➤ id
- paths ➤ /customer/verifyCustomer ➤ put ➤ responses ➤ 200 ➤ links ➤ Customer ➤ parameters ➤ id
The warning recommends that we add an example to the parameter. However, the Link object doesn't support examples for values in the parameters field. That field is for parameters that serve a different purpose, don't follow the structure of the Parameter object, and will never contain an example.
Proposed solution: exclude link objects (defined under links in the response and components objects) from this rule.