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

Unable to load SwaggerUI when read API from server fails

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Cannot Reproduce
    • Neon SR1
    • None
    • restconf-openapi

    Description

      Hi,

      I am testing Neon SR1 with a ConfD server and I am facing some issues with the apidoc explorer.

      The resource is mounted correctly, but when I try to list the APIs I get an uncaught javascript exception and the operation list for each API is not displayed.
      When inspecting the javascript console, it appears that the server returns a "500 Request failed" error for two of the APIs. All the other APIs are retrieved correctly and are visible in the raw response, but clicking on "Show/Hide", "List operations" and "Expand operations" has no effect on any API.

      Attachments

        1. image-2020-10-29-14-01-55-270.png
          38 kB
          Iaroslav Kholiavko
        2. javascript-console.png
          128 kB
          Francesca Vezzosi
        3. karaf-error.log
          13 kB
          Francesca Vezzosi
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            IaroslavK Iaroslav Kholiavko
            francesca.vezzosi Francesca Vezzosi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: