Details
-
Sub-task
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
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).
Attachments
Issue Links
- blocks
-
NETCONF-1061 OpenApi: Remove paths which provide only operational data
-
- Resolved
-
- relates to
-
NETCONF-938 Cannot generate API docs for Junos device
-
- In Review
-
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 105043,39 | Create only config data for OpenApi | master | netconf | Status: MERGED | +2 | +1 |
| 106895,11 | Remove "config" prefix from OpenApi | master | netconf | Status: MERGED | +2 | +1 |
| 106920,6 | OpenApi simplify processChildNode method | master | netconf | Status: MERGED | +2 | +1 |
| 107385,4 | Add test for reduced number of schemas | master | netconf | Status: MERGED | +2 | +1 |