From 137e045a4f686197b505f74fb3110894fd42b237 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Tue, 6 Jul 2021 09:53:17 +0100 Subject: Add swagger models for swagger endpoint generation The swagger models dependency is required to generate the swagger for the Swagger endpoint in Springboot applications. Springboot needs Jackson annotations as well. Issue https://jira.onap.org/browse/POLICY-3465 opened for the general Swagger upgrade work. Issue-ID: POLICY-3424 Change-Id: Ie86db5652be26df085234f0699f0363081d06af0 Signed-off-by: liamfallon --- .../participant/simulator/main/rest/ParticipantErrorController.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'participant/participant-impl/participant-impl-simulator/src') 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; -- cgit 1.2.3-korg