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

Swagger generates invalid RFC8040 paths for lists with multiple keys

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • Aluminium
    • 2.0.0, 1.13.3
    • restconf-openapi
    • Normal

    Description

      Getting 500 server error for this rest api using RFC8040 url in swagger which is working perfectly fine with restconf(original) url. Both the urls are mentioned below.

      In this url, protocol key has two values:
      1. Identifier: openconfig-policy-types:BGP                              2. Name:  bgp-example 

      According to RFC8040, the multiple keys should be separated with ',' instead of '='.

      But It is not working even changing '=' with ',' .  It seems there is a bug in calling the apis when we have a list of multiple keys(openconfig-policy-types:BGP and bgp-example in above case).

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ivanhrasko Ivan Hrasko
              aman1403 Aman .
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: