Cannot generate API docs for Junos device
(NETCONF-938)
|
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-openapi |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0 |
| Type: | Sub-task | Priority: | Medium |
| Reporter: | Ivan Hrasko | Assignee: | Samuel Schneider |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue Links: |
|
||||||||||||||||
| Description |
|
ODL apidoc implementation creates a lot of schemas objects even for simple models like my-yang@2022-10-06.yang. This file contains just one container with one leaf and we have 6 schemas objects instead of 2. We can see that petstore example is using the same schemas object for PUT, POST, XML, JSON, etc. Thus in ODL, we are creating a lot of objects without any reason to do so (except of wasting memory). |