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); }