Fix docgen for action types 72/100672/3
authorPeter Suna <peter.suna@pantheon.tech>
Wed, 20 Apr 2022 13:10:07 +0000 (15:10 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 20 Apr 2022 17:40:22 +0000 (19:40 +0200)
commitc071cca8814ea78b05ca45defa6d74ed5a2c4029
tree27a60805ef96e0758a7173f60402bb38040a871f
parent0226b5a21bb755b75a25b208fd0ecca20fd8968c
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>
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]