From c6d047a7eaab78144f7fcd2a6dc3cfdaa04dda8a Mon Sep 17 00:00:00 2001 From: AKurakin Date: Tue, 6 Jun 2023 18:38:17 +0300 Subject: [PATCH] =?UTF-8?q?gateway-api=20=D0=B2=D1=80=D0=B5=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D0=BE=20=D1=83=D0=B1=D1=80=D0=B0=D0=BB=20=D0=B2?= =?UTF-8?q?=D0=B0=D0=BB=D0=B8=D0=B4=D0=B0=D1=86=D0=B8=D1=8E=20GatewayContr?= =?UTF-8?q?oller?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../clearing/gatewayapi/controller/GatewayController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clearing-parent/gateway-api/src/main/java/ru/spcex/clearing/gatewayapi/controller/GatewayController.java b/clearing-parent/gateway-api/src/main/java/ru/spcex/clearing/gatewayapi/controller/GatewayController.java index ff0513561..ad37874bf 100644 --- a/clearing-parent/gateway-api/src/main/java/ru/spcex/clearing/gatewayapi/controller/GatewayController.java +++ b/clearing-parent/gateway-api/src/main/java/ru/spcex/clearing/gatewayapi/controller/GatewayController.java @@ -70,7 +70,7 @@ public class GatewayController { ) @ResponseBody public CommonResponse listingsFond(@RequestBody FondListingsRequest request) { - request.validate(validTypes, List.of(Section.FOND)); +// request.validate(validTypes, List.of(Section.FOND)); FondListingsRequestParam requestParam = new FondListingsRequestParam(request); ProcessResult processResult = fondListingsRequestProcessor.process(requestParam); if (processResult.getError() != null) throw new GatewayException(request, processResult.getError()); @@ -91,7 +91,7 @@ public class GatewayController { ) @ResponseBody public CommonResponse listingsMM(@RequestBody MMListingsRequest request) { - request.validate(validTypes, List.of(Section.MKR)); +// request.validate(validTypes, List.of(Section.MKR)); MMListingsRequestParam requestParam = new MMListingsRequestParam(request); ProcessResult processResult = mmListingsRequestProcessor.process(requestParam); if (processResult.getError() != null) throw new GatewayException(request, processResult.getError()); @@ -112,7 +112,7 @@ public class GatewayController { ) @ResponseBody public CommonResponse companies(@RequestBody CompaniesRequest request) { - request.validate(validTypes, Collections.emptyList()); +// request.validate(validTypes, Collections.emptyList()); CompaniesRequestParam requestParam = new CompaniesRequestParam(request); ProcessResult processResult = companiesRequestProcessor.process(requestParam); if (processResult.getError() != null) throw new GatewayException(request, processResult.getError());