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

OpenAPI: Do not hardcode action path

XMLWordPrintable

      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>

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

              Created:
              Updated:
              Resolved: