aboutsummaryrefslogtreecommitdiffstats
path: root/generic-resource-api/model/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'generic-resource-api/model/pom.xml')
-rw-r--r--generic-resource-api/model/pom.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/generic-resource-api/model/pom.xml b/generic-resource-api/model/pom.xml
index 9b8b3fe1..97f1b060 100644
--- a/generic-resource-api/model/pom.xml
+++ b/generic-resource-api/model/pom.xml
@@ -57,6 +57,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>
@@ -70,6 +76,10 @@
<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>