diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-05-25 16:44:15 -0500 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2017-05-25 16:44:15 -0500 |
commit | 881c32ec109f0fff6f5661940ad035c3dfc0c7d9 (patch) | |
tree | 79070ad7386cc9b62cf504ebf62ec8702792be4d /policy-healthcheck/pom.xml | |
parent | f354096969e91aa2b3dcdc52adcc2bde1b3b0b74 (diff) |
[POLICY-16] generic introduction of swagger
On a per-server basis append /swagger.json or /swagger.yaml
ie:
HTTP GET :6969/swagger.json
HTTP GET :9696/swagger.json
Resulting specification can be used by swagger clients.
Change-Id: I4b1a8b53d50b1528664150934b04e92447e4d4d7
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'policy-healthcheck/pom.xml')
-rw-r--r-- | policy-healthcheck/pom.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/policy-healthcheck/pom.xml b/policy-healthcheck/pom.xml index 5a409d4a..913a944c 100644 --- a/policy-healthcheck/pom.xml +++ b/policy-healthcheck/pom.xml @@ -32,7 +32,7 @@ <artifactId>policy-healthcheck</artifactId> <name>policy-healthcheck</name> - <description>Separately loadable module with healthcheck code</description> + <description>Separately loadable module to perform healthchecks of the system</description> <properties> <maven.compiler.source>1.8</maven.compiler.source> @@ -92,6 +92,11 @@ </build> <dependencies> + <dependency> + <groupId>io.swagger</groupId> + <artifactId>swagger-jersey2-jaxrs</artifactId> + <scope>provided</scope> + </dependency> <dependency> <groupId>org.openecomp.policy.drools-pdp</groupId> <artifactId>policy-core</artifactId> |