From 7a2df6ddf1aa3630e35d20e915cff3f15428c0c9 Mon Sep 17 00:00:00 2001 From: giomella Date: Wed, 4 Dec 2024 15:17:31 +0100 Subject: [PATCH] [PPANTT-191] fix --- openapi/openapi.json | 2 +- .../gov/pagopa/mbd/gps/service/controller/MbdGpsController.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openapi/openapi.json b/openapi/openapi.json index c9043b2..32b2306 100644 --- a/openapi/openapi.json +++ b/openapi/openapi.json @@ -85,7 +85,7 @@ } ], "post": { - "operationId": "buildMdbPaymentOption", + "operationId": "buildMbdPaymentOption", "requestBody": { "content": { "application/json": { diff --git a/src/main/java/it/gov/pagopa/mbd/gps/service/controller/MbdGpsController.java b/src/main/java/it/gov/pagopa/mbd/gps/service/controller/MbdGpsController.java index 30c1fb1..38379f3 100644 --- a/src/main/java/it/gov/pagopa/mbd/gps/service/controller/MbdGpsController.java +++ b/src/main/java/it/gov/pagopa/mbd/gps/service/controller/MbdGpsController.java @@ -83,7 +83,7 @@ public MbdGpsController(ModelMapper modelMapper) { @Operation( summary = "Build MBD payment option model", security = {@SecurityRequirement(name = "ApiKey")}) - public @Valid MbdPaymentOptionResponse buildMdbPaymentOption( + public @Valid MbdPaymentOptionResponse buildMbdPaymentOption( @RequestBody @NotNull @Valid MbdPaymentOptionRequest mbdPaymentOptionRequest) { return this.modelMapper.map(mbdPaymentOptionRequest, MbdPaymentOptionResponse.class); }