OpenAPI: netopeer2 duplicated mapping key 62/110262/7
authorlubos-cicut <lubos.cicut@pantheon.tech>
Mon, 19 Feb 2024 10:24:21 +0000 (11:24 +0100)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Fri, 8 Mar 2024 12:10:31 +0000 (13:10 +0100)
commite34c8ccc42736c2c59b181c4249421c980a13c33
tree93db41435fc156f87c8e4067858ca8ee935c0eeb
parentdaaff0fcd96a184c10701db435592b64175ec0ad
OpenAPI: netopeer2 duplicated mapping key

When we load netopeer2 modules, OpenAPI in browser returns duplicated
mapping key error. This change add discriminator to schemas which are
duplicated.

JIRA: NETCONF-1254
Change-Id: Ieaa5913bcf56cddbee0dcb2df9ad17cb1af078bd
Signed-off-by: lubos-cicut <lubos.cicut@pantheon.tech>
restconf/restconf-openapi/src/main/java/org/opendaylight/restconf/openapi/impl/SchemasStream.java