diff options
author | Dan Timoney <dtimoney@att.com> | 2017-10-10 14:41:12 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2017-10-10 14:41:12 -0400 |
commit | 8dc002f0afeaa6becaa50d83f757380970777473 (patch) | |
tree | 87bdc2d3412a015cf97e329b073cd752e960ebb1 /generic-resource-api/model/pom.xml | |
parent | 1dea8baae650ac8514a987517fef88a557579161 (diff) |
Convert swagger docs to v 2
Generate updated swagger specs and convert from swagger 1.2 to 2.0
format.
Change-Id: I2d357b903596b3f2341ed5d024465e967fdaa76c
Issue-ID: SDNC-72
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'generic-resource-api/model/pom.xml')
-rw-r--r-- | generic-resource-api/model/pom.xml | 10 |
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> |