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

OpenApi: Do not use ArrayNode to store parameters

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 7.0.0
    • restconf-openapi

    Description

      We are using ArrayNode to store parameters. We use it only as a List which stores parameter names. Do not use ArrayNode as addPath (et. al) method parameter for parameters and use List instead. In addition, create dedicated Java class to store parameters as described in https://swagger.io/specification/#parameter-object and use it in Operation.java. Along the way we will also eliminate OperationBuilder#getTypeParentNode method.

      Attachments

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

              yaroslav.lastivka Yaroslav Lastivka
              ivanhrasko Ivan Hrasko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: