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

OpenAPI: Do not hardcode action path

    XMLWordPrintable

Details

    Description

      Action paths are created in BaseYangOpenApiGenerator by appending rests/operations instead of rests/data. Both sides of this replacing are not configurable. If user (for example lighty.io) uses custom OpenAPI path this can lead to troubles as seen in NETCONF-860.

      Hardcoded expected behaviour: rests/data<THE-REST-OF-PATH> -> rests/operations<THE-REST-OF-PATH>

      Unexpected hardcoded behaviour: restconf/data<THE-REST-OF-PATH> -> rest/operationsata<THE-REST-OF-PATH>

      Attachments

        Issue Links

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

          Activity

            People

              simon0pt Šimon Ukuš
              ivanhrasko Ivan Hrasko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: