Fix bug 5810, 5812: 15/39815/2
authorNafee Chan <nafee.chan@gmail.com>
Fri, 3 Jun 2016 01:21:37 +0000 (09:21 +0800)
committerNafee Chan <nafee.chan@gmail.com>
Mon, 13 Jun 2016 08:02:45 +0000 (08:02 +0000)
commitfbc1bc998c1fc5e1c634aef8116050295155e2f7
treec0b0782650bdf53a30ee307a77baf7efb4f949dd
parentfb228b518fde8574047aa3900a604957277f1739
Fix bug 5810, 5812:
1. only when node's config statement is true, such apis as
GET/PUT/POST/DELETE config are added for this node;
2. when there are two or more top container/list nodes whose config
statement is true in module, make sure that only one root post link is added for this module.

Change-Id: I96d0b485c5943ad9bee63327c5d10e3cd0e5cb77
Signed-off-by: Nafee Chan <nafee.chan@gmail.com>
restconf/sal-rest-docgen/src/main/java/org/opendaylight/netconf/sal/rest/doc/impl/BaseYangSwaggerGenerator.java