Fix docgen for action types 94/100594/1
authorPeter Suna <peter.suna@pantheon.tech>
Wed, 20 Apr 2022 13:10:07 +0000 (15:10 +0200)
committerRobert Varga <nite@hq.sk>
Wed, 20 Apr 2022 23:21:48 +0000 (23:21 +0000)
commitd9e6663fb4658d6cc816675f26899d121579a0f4
tree90ee6a69ecc941b0775251b07dba027a8bbf9c8a
parent548fe702c003e64f1a06f1303827e1bb32a0dd4a
Fix docgen for action types

When we are processing actions we need to adjust the stack to enter
each of them for the duration of traversal. Also add the corresponding
test.

JIRA: NETCONF-872
Change-Id: I5aae78380073c4d5c876b888b22cd41a2657db2d
Signed-off-by: Peter Suna <peter.suna@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit c071cca8814ea78b05ca45defa6d74ed5a2c4029)
restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/impl/DefinitionGenerator.java
restconf/sal-rest-docgen/src/test/java/org/opendaylight/controller/sal/rest/doc/impl/SwaggerObjectTest.java
restconf/sal-rest-docgen/src/test/resources/yang/action-types.yang [new file with mode: 0644]