-
Task
-
Resolution: Done
-
Medium
-
None
Currently, we generate for each container element (container, list) schema and, additionally, schema with _TOP prefix. _TOP prefix is used for PUT (JSON), PATCH (JSON) and GET operations.
Assuming that all operations are under path.
We can change our logic in the following way:
- For each container create its path.
- For each container create its schema - only one.
- Link container's path with schema for PUT (JSON), PATCH (JSON) and GET operations.
- Link container's parent path with schema for POST, PUT (XML) and PATCH (XML) operations.
- Continue.
- blocks
-
NETCONF-1077 OpenApi: Missing "data" path for POST requests
- Open
- is blocked by
-
NETCONF-1054 OpenApi: POST examples are incorrect
- Resolved
-
NETCONF-1059 OpenApi: Wrong XML GET example
- Resolved
- relates to
-
NETCONF-938 Cannot generate API docs for Junos device
- Resolved