Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1281

OpenAPI: invalid explorer redirection URL


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 5.0.10, 6.0.8, 7.0.4
    • None
    • netconf

      The redirection path for the OpenAPI explorer is incorrectly set, leading users to a non-existent URL. As a result, attempting to access the OpenAPI explorer results in a 404 Not Found error.

      Steps to reproduce:
      1. run karaf
      2. Install features by `feature:install odl-netconf-topology odl-restconf-nb odl-restconf-openapi`
      3. Attempt to access the OpenAPI UI by navigating to `http://localhost:8181/openapi/api/v3/ui`.

      Expected Behavior:
      The browser should redirect to http://localhost:8181/openapi/explorer/index.html, where the OpenAPI explorer is accessible.

      Actual Behavior:
      The browser is incorrectly redirected to http://localhost:8181/openapi/api/explorer/index.html, resulting in a 404 Not Found error page.

          <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
          <title>Error 404 Not Found</title>
          <h2>HTTP ERROR 404 Not Found</h2>
                  <td>Not Found</td>

            yaroslav.lastivka Yaroslav Lastivka
            yaroslav.lastivka Yaroslav Lastivka
            0 Vote for this issue
            2 Start watching this issue