Fix deviceName with specific module request 26/106926/12
authorŠimon Ukuš <simon.ukus@pantheon.tech>
Mon, 17 Jul 2023 12:58:31 +0000 (14:58 +0200)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Wed, 9 Aug 2023 07:20:39 +0000 (07:20 +0000)
commit2b3398d67743baaec39c3562993c914bbf8972a3
treec1d07b18ed659e60bdfe1af37b650910c232a18c
parent43bb88765d804d9b101507ca5ba2c0e0c38f63f7
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>
restconf/restconf-openapi/src/main/java/org/opendaylight/restconf/openapi/impl/BaseYangOpenApiGenerator.java
restconf/restconf-openapi/src/main/java/org/opendaylight/restconf/openapi/mountpoints/MountPointOpenApi.java
restconf/restconf-openapi/src/test/java/org/opendaylight/restconf/openapi/impl/KeysMappingTest.java
restconf/restconf-openapi/src/test/java/org/opendaylight/restconf/openapi/impl/OpenApiGeneratorRFC8040Test.java
restconf/restconf-openapi/src/test/java/org/opendaylight/restconf/openapi/impl/OpenApiXmlNamespaceTest.java