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

Swagger generates invalid RFC8040 paths for lists with multiple keys

XMLWordPrintable

    • Normal

      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).

       

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

              Created:
              Updated:
              Resolved: