arc-archive / api-navigation

⛔️ DEPRECATED This component is being deprecated. Use `@api-components/amf-components` instead.
0 stars 1 forks source link

Add `data-endpoint-path` attribute to the endpoint node #1

Closed jarrodek closed 6 years ago

jarrodek commented 6 years ago

Per request from API designer team, to enable them to use their testing framework, add data-endpoint-path attribute with the value of the path represented by this endpoint.

Example node after the change:

<div 
  class="list-item endpoint" 
  title="Toggle endpoint documentation" 
  data-endpoint-id="amf://id#23" 
  data-endpoint-path="/deep/path">