Bug 8311 - Apidoc: Incomprehensible 500 id model is wrong 00/56700/1
authormiroslav.kovac <miroslav.kovac@pantheon.tech>
Tue, 2 May 2017 13:05:11 +0000 (15:05 +0200)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Tue, 9 May 2017 07:02:05 +0000 (07:02 +0000)
commit09a3b011ff481d384766126159eefc16a4c9c014
tree32209aefac8999c65ba3207075a23600ef347bfb
parentd8c66bf90d68abe438b3dd2cfe6fe9c410de5573
Bug 8311 - Apidoc: Incomprehensible 500 id model is wrong
Bug 8266 - Apidoc explorer is broken after installing Boron SR3

Depending on path if it is relative or absolute module has to be
resolved different ways. If it is relative path it will have to
be resolved through DataSchemaNote which returns namespace and
revision of module in which node is situated. If it is absolute
path we need TypeDefinition which returns a namespace and
revision of original module.

Change-Id: I522ea66383ba1d65e6674d5e8ff67ec31e019303
Signed-off-by: miroslav.kovac <miroslav.kovac@pantheon.tech>
(cherry picked from commit 5ee44740e99f60768f488b7c8fb00873ed758a79)
restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/impl/ModelGenerator.java