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

OpenApi: Do not use ArrayNode to store parameters

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Medium Medium
    • 7.0.0
    • None
    • restconf-openapi

      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.

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

              Created:
              Updated:
              Resolved: