Skip to content

Incorrect href for dcat:endpointDescription and other statements #61

Description

@dennisvang

FDP metadata contains the following:

  dcat:endpointDescription <http://localhost:8080/v3/api-docs>, <http://localhost:8080/swagger-ui.html> .

However, the resulting HTML anchors' href values are relative to the client origin, and the path for the /swagger-ui.html is replaced by /:

<div class="metadata-value">
  <ul>
    <li><a href="/v3/api-docs" class="text-link">api-docs</a></li>
    <li><a aria-current="page" href="/" class="router-link-active router-link-exact-active text-link">swagger-ui.html</a></li>
  </ul>
</div>
screenshot of fdp client

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions