OpenAPI: netopeer2 wrong schemas for actions 04/110404/14
authorlubos-cicut <lubos.cicut@pantheon.tech>
Thu, 29 Feb 2024 14:32:28 +0000 (15:32 +0100)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Tue, 12 Mar 2024 13:36:36 +0000 (14:36 +0100)
commitb682728e201f69a770edf9ada69d761261e77cee
tree1d90b735bdb0f25d8080e95eb8133e2025e092d7
parent028aefa858e49299d4a8a2308ae517d53f893cc0
OpenAPI: netopeer2 wrong schemas for actions

Schemas for actions weren't generated correctly. There were
missing parent node name. In path ref if action was nested in more
containers were missing all parent nodes.

Edit of expected documents was necessary due to changes.

JIRA: NETCONF-1259
Change-Id: I0cf4769122ab00e62687ec01399d5de1b3bb3baf
Signed-off-by: lubos-cicut <lubos.cicut@pantheon.tech>
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
restconf/restconf-openapi/src/main/java/org/opendaylight/restconf/openapi/impl/PathsStream.java
restconf/restconf-openapi/src/main/java/org/opendaylight/restconf/openapi/impl/SchemasStream.java
restconf/restconf-openapi/src/main/java/org/opendaylight/restconf/openapi/model/PostEntity.java
restconf/restconf-openapi/src/test/resources/operational-document/controller-action-types.json
restconf/restconf-openapi/src/test/resources/operational-document/controller-all.json
restconf/restconf-openapi/src/test/resources/operational-document/device-action-types.json
restconf/restconf-openapi/src/test/resources/operational-document/device-all.json
restconf/restconf-openapi/src/test/resources/yang-document/controller-action-types.json
restconf/restconf-openapi/src/test/resources/yang-document/controller-all.json
restconf/restconf-openapi/src/test/resources/yang-document/device-action-types.json
restconf/restconf-openapi/src/test/resources/yang-document/device-all.json