[NETCONF-272] Api explorer does not handle nodes with same name in yang module properly Created: 09/Sep/16 Updated: 15/Mar/19 Resolved: 13/Oct/16 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Miroslav Kovac | Assignee: | Miroslav Kovac |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 6679 | ||||||||
| Description |
|
If there are two or more Containers (Lists and others as well) with same name in one yang module, example is not rendered properly. It always takes the last one and render example based on that. container jukebox { leaf name { } list song { leaf name { } leaf format { type string; }leaf length { type uint32; } } // end list 'song' list playlist { leaf name { type string; } list song { leaf index { type uint32; } leaf id { mandatory true; example generated --> ], ], |
| Comments |
| Comment by Miroslav Kovac [ 11/Oct/16 ] |