From 80311ac0dedb0868d3837029c6e4b5fcb984efb2 Mon Sep 17 00:00:00 2001 From: lapentafd Date: Mon, 13 Feb 2023 17:00:32 +0000 Subject: Remove annotations in models Removing last annotations in order to remove dependencies in parent Issue-ID: POLICY-3465 Change-Id: Id7a070120d452e33af805b08b37dd1eba1374615 Signed-off-by: lapentafd --- .../src/main/java/org/onap/policy/simulators/SoSimulatorJaxRs.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'models-interactions') diff --git a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/SoSimulatorJaxRs.java b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/SoSimulatorJaxRs.java index 948529fab..957541993 100644 --- a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/SoSimulatorJaxRs.java +++ b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/SoSimulatorJaxRs.java @@ -23,7 +23,6 @@ package org.onap.policy.simulators; -import io.swagger.annotations.ApiParam; import java.util.List; import java.util.Map; import java.util.Set; @@ -78,7 +77,7 @@ public class SoSimulatorJaxRs { @Produces("application/json") public String soPostQuery(@PathParam("serviceInstanceId") final String serviceInstanceId, @PathParam("vnfInstanceId") final String vnfInstanceId, - @ApiParam(required = true) SoRequest request) { + SoRequest request) { List> userParam = null; userParam = request.getRequestDetails().getRequestParameters().getUserParams(); @@ -131,7 +130,7 @@ public class SoSimulatorJaxRs { @Path("/3gppservices/v7/modify") @Consumes(MediaType.APPLICATION_JSON) @Produces("application/json") - public String soPost3gpp(@ApiParam(required = true) SoRequest3gpp request) { + public String soPost3gpp(SoRequest3gpp request) { return ResourceUtils.getResourceAsString("org/onap/policy/simulators/so/so.3gpp.success.json"); } @@ -139,7 +138,7 @@ public class SoSimulatorJaxRs { @Path("/infra/serviceIntent/v1/modify") @Consumes(MediaType.APPLICATION_JSON) @Produces("application/json") - public String soPostModifyCll(@ApiParam(required = true) SoRequest3gpp request) { + public String soPostModifyCll(SoRequest3gpp request) { return ResourceUtils.getResourceAsString("org/onap/policy/simulators/so/so.cll.success.json"); } -- cgit 1.2.3-korg