Bug 8311 - Apidoc: Incomprehensible 500 id model is wrong 25/56425/2
authormiroslav.kovac <miroslav.kovac@pantheon.tech>
Tue, 2 May 2017 13:05:11 +0000 (15:05 +0200)
committerMiroslav Kovac <miroslav.kovac@pantheon.tech>
Wed, 3 May 2017 07:51:34 +0000 (07:51 +0000)
commit5ee44740e99f60768f488b7c8fb00873ed758a79
treeb274986fcda9ba051d2573f063dd78b35c077a93
parent4a19fdc05da79aa174fa67f7d21e62df4d17b1d4
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>
restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/impl/ModelGenerator.java