diff options
author | Avi Ziv <avi.ziv@amdocs.com> | 2019-06-17 13:04:58 +0300 |
---|---|---|
committer | Avi Gaffa <avi.gaffa@amdocs.com> | 2019-06-18 06:45:51 +0000 |
commit | 4bf6e7f32c573b9c5096b84f6dd11674f2a53ad9 (patch) | |
tree | f22d52e7679c4cd40ec5b9f95b65ba6353f719f4 /catalog-be/pom.xml | |
parent | 47292bce13d2963a30c007995ebb36cc94f30dab (diff) |
Issue-ID: SDC-2370
Signed-off-by: dfx1971 <avi.ziv@amdocs.com>
Change-Id: Ibfe11277ab9a6f9eb0c402190e41ef94e6ae55f3
Diffstat (limited to 'catalog-be/pom.xml')
-rw-r--r-- | catalog-be/pom.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/catalog-be/pom.xml b/catalog-be/pom.xml index dfa6eaa031..a68174cd3b 100644 --- a/catalog-be/pom.xml +++ b/catalog-be/pom.xml @@ -815,6 +815,42 @@ </execution> </executions> </plugin> + <plugin> + <groupId>com.github.kongchen</groupId> + <artifactId>swagger-maven-plugin</artifactId> + <version>3.1.0</version> + <configuration> + <apiSources> + <apiSource> + <springmvc>false</springmvc> + <schemes>http</schemes> + <basePath>/sdc</basePath> + <locations>io.swagger.jaxrs.json;org.openecomp.sdc.be.externalapi.servlet;org.openecomp.sdc.be.distribution.servlet;org.openecomp.normative.api</locations> + <info> + <title>External Rest API</title> + <version>v1.0</version> + <description>External Rest API Documentation</description> + <termsOfService> + http://www.github.com/kongchen/swagger-maven-plugin + </termsOfService> + </info> + <templatePath>${basedir}/templates/strapdown.html.hbs</templatePath> + <outputPath>${basedir}/target/generated/swagger-ui/api.html</outputPath> + <swaggerDirectory>${basedir}/target/generated/swagger-ui + </swaggerDirectory> + <swaggerApiReader>io.swagger.jaxrs.config.DefaultJaxrsConfig</swaggerApiReader> + </apiSource> + </apiSources> + </configuration> + <executions> + <execution> + <phase>compile</phase> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> <pluginManagement> |