Fix deviceName with specific module request 80/107380/2
authorŠimon Ukuš <simon.ukus@pantheon.tech>
Mon, 17 Jul 2023 12:58:31 +0000 (14:58 +0200)
committerŠimon Ukuš <simon.ukus@pantheon.tech>
Thu, 10 Aug 2023 10:41:11 +0000 (12:41 +0200)
commit376bdeadc1673e4cc52eb5eb1ca68fd3953d37de
tree66b40138e65cacd9e14cc20bcb2158869d68b6d6
parent4885a4112511faecd9c326d70c3a3a38f27d9f1e
Fix deviceName with specific module request

When requesting swagger document for a specific module under a specific
mounted device, the deviceName was ignored and not included in the
summary of the paths.

This change makes the deviceName part of the summary of the paths.

JIRA: NETCONF-1090
Change-Id: I1c50ecc6c69c82fd110d1ba5b67d631df1b95337
Signed-off-by: Šimon Ukuš <simon.ukus@pantheon.tech>
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
(cherry picked from commit 2b3398d67743baaec39c3562993c914bbf8972a3)
restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/impl/BaseYangSwaggerGenerator.java
restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/mountpoints/MountPointSwagger.java
restconf/sal-rest-docgen/src/test/java/org/opendaylight/netconf/sal/rest/doc/impl/AbstractApiDocTest.java
restconf/sal-rest-docgen/src/test/java/org/opendaylight/netconf/sal/rest/doc/impl/ApiDocGeneratorRFC8040Test.java
restconf/sal-rest-docgen/src/test/java/org/opendaylight/netconf/sal/rest/doc/impl/MountPointSwaggerTest.java