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

OpenApi: Rework interaction with OpenApiObject

    XMLWordPrintable

Details

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

    Description

      We interact with OpenApiObject in unfortunate way:

      1. we are creating OpenApiObject.Builder several times
      2. then we are mutating schemas
      3. then we are mutating paths
      4. we are relying on side effects (fillDoc method returning void)

      We can make better if we try to rework our logic to prepare schemas ans paths beforehand and then just create one OpenApiObject instance.

      Attachments

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

        Activity

          People

            ojo Oleksandr Zharov
            ivanhrasko Ivan Hrasko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: