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 /vnfapi/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 'vnfapi/model/pom.xml')
-rw-r--r-- | vnfapi/model/pom.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vnfapi/model/pom.xml b/vnfapi/model/pom.xml index 91d20140..1c83424d 100644 --- a/vnfapi/model/pom.xml +++ b/vnfapi/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> @@ -46,6 +52,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> |