Add readthedocs info to sli/core
Add additional information to sli/core readthedocs documentation.
Change-Id: I9fe5e6185061ed6a05f373b6667f686e11d5f0aa
Issue-ID: CCSDK-107
Signed-off-by: Dan Timoney <dtimoney@att.com>
diff --git a/sliapi/model/pom.xml b/sliapi/model/pom.xml
index fc9b763..d36aaa1 100755
--- a/sliapi/model/pom.xml
+++ b/sliapi/model/pom.xml
@@ -33,6 +33,12 @@
<version>${odl.sal.api.gen.plugin.version}</version>
<type>jar</type>
</dependency>
+ <dependency>
+ <groupId>org.opendaylight.netconf</groupId>
+ <artifactId>sal-rest-docgen-maven</artifactId>
+ <version>${odl.restconf.version}</version>
+ <type>jar</type>
+ </dependency>
</dependencies>
<executions>
<execution>
@@ -43,12 +49,13 @@
<yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
<codeGenerators>
<generator>
- <!--
- <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
- -->
<codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
<outputBaseDir>${salGeneratorPath}</outputBaseDir>
</generator>
+ <generator>
+ <codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
+ <outputBaseDir>target/swagger</outputBaseDir>
+ </generator>
</codeGenerators>
<inspectDependencies>true</inspectDependencies>
</configuration>