-
Improvement
-
Resolution: Done
-
Medium
-
None
The addPaths method is the only place where we need to make a copy of parameters because we are going deeper into recursion. Thus we need
some defence against future modifications.
The other methods buildPost, buildGet, buildPut and buildDelete are doing unnecessary copying.
The second problem is that we do not have any unit test to check the number of parameters in recursive models, for example:
container container-root { list root-list { key name; leaf name { type string; } list nested-list { key name; leaf name { type string; } list super-nested-list { key name; leaf name { type string; } } } } }
- relates to
-
NETCONF-938 Cannot generate API docs for Junos device
- Resolved