summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2021-07-09 10:44:34 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-09 10:44:34 +0000
commit8c802e778db60e269e2e66c7a6609bf905f6ad79 (patch)
treef903bf59a8a7b768f52efc42685d019992748e1e
parent22a9e7eed2eaed9846cdf07cecb712764b23b651 (diff)
parent137e045a4f686197b505f74fb3110894fd42b237 (diff)
Merge "Add swagger models for swagger endpoint generation"
-rw-r--r--participant/participant-impl/participant-impl-simulator/src/main/java/org/onap/policy/clamp/controlloop/participant/simulator/main/rest/ParticipantErrorController.java2
-rw-r--r--pom.xml9
-rw-r--r--runtime/pom.xml7
3 files changed, 9 insertions, 9 deletions
diff --git a/participant/participant-impl/participant-impl-simulator/src/main/java/org/onap/policy/clamp/controlloop/participant/simulator/main/rest/ParticipantErrorController.java b/participant/participant-impl/participant-impl-simulator/src/main/java/org/onap/policy/clamp/controlloop/participant/simulator/main/rest/ParticipantErrorController.java
index d4429b879..695ae06a8 100644
--- a/participant/participant-impl/participant-impl-simulator/src/main/java/org/onap/policy/clamp/controlloop/participant/simulator/main/rest/ParticipantErrorController.java
+++ b/participant/participant-impl/participant-impl-simulator/src/main/java/org/onap/policy/clamp/controlloop/participant/simulator/main/rest/ParticipantErrorController.java
@@ -20,7 +20,6 @@
package org.onap.policy.clamp.controlloop.participant.simulator.main.rest;
-import io.swagger.v3.oas.annotations.Hidden;
import java.util.Map;
import javax.servlet.RequestDispatcher;
import javax.servlet.http.HttpServletRequest;
@@ -38,7 +37,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.context.request.ServletWebRequest;
@Controller
-@Hidden
public class ParticipantErrorController implements ErrorController {
private final ErrorAttributes errorAttributes;
diff --git a/pom.xml b/pom.xml
index eb8b58a65..da214ff22 100644
--- a/pom.xml
+++ b/pom.xml
@@ -131,6 +131,15 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>io.swagger</groupId>
+ <artifactId>swagger-models</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-annotations</artifactId>
+ <version>${version.jackson}</version>
+ </dependency>
+ <dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>
<version>${version.springfox}</version>
diff --git a/runtime/pom.xml b/runtime/pom.xml
index 6efdec744..4c8bf24f9 100644
--- a/runtime/pom.xml
+++ b/runtime/pom.xml
@@ -434,13 +434,6 @@
<artifactId>docker-java</artifactId>
<scope>test</scope>
</dependency>
- <!-- Swagger models for swagger generation -->
- <dependency>
- <groupId>io.swagger</groupId>
- <artifactId>swagger-models</artifactId>
- <version>${version.swagger}</version>
- <scope>test</scope>
- </dependency>
</dependencies>
<build>