diff options
author | lapentafd <francesco.lapenta@est.tech> | 2023-02-13 17:00:32 +0000 |
---|---|---|
committer | Francesco Davide Lapenta <francesco.lapenta@est.tech> | 2023-02-13 17:04:53 +0000 |
commit | 80311ac0dedb0868d3837029c6e4b5fcb984efb2 (patch) | |
tree | 45b02ab12590dab8b41f6cbfcc13358fb40b6217 /models-interactions | |
parent | e53df8d3f8ab0464b0876bdb339fa91dc9085cd2 (diff) |
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 <francesco.lapenta@est.tech>
Diffstat (limited to 'models-interactions')
-rw-r--r-- | models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/SoSimulatorJaxRs.java | 7 |
1 files changed, 3 insertions, 4 deletions
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<Map<String, String>> 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"); } |