From fb23c2fa5c0181102397ee5004a2e5687455a151 Mon Sep 17 00:00:00 2001 From: andrea-putzu <106688558+andrea-putzu@users.noreply.github.com> Date: Mon, 29 Apr 2024 17:26:44 +0200 Subject: [PATCH] fix: Removing field mandatory for onboarding (#224) --- .../external_api/model/onboarding/OnboardingData.java | 1 + .../web/model/institutions/InstitutionLocationDataDto.java | 6 +++--- .../web/model/onboarding/OnboardingProductDto.java | 3 +++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/connector-api/src/main/java/it/pagopa/selfcare/external_api/model/onboarding/OnboardingData.java b/connector-api/src/main/java/it/pagopa/selfcare/external_api/model/onboarding/OnboardingData.java index fee0f22c..f91b7974 100644 --- a/connector-api/src/main/java/it/pagopa/selfcare/external_api/model/onboarding/OnboardingData.java +++ b/connector-api/src/main/java/it/pagopa/selfcare/external_api/model/onboarding/OnboardingData.java @@ -24,6 +24,7 @@ public class OnboardingData { private InstitutionUpdate institutionUpdate; private InstitutionType institutionType; private String origin; + private String ivassCode; private String pricingPlan; private RootParent rootParent; private Boolean sendCompleteOnboardingEmail; diff --git a/web/src/main/java/it/pagopa/selfcare/external_api/web/model/institutions/InstitutionLocationDataDto.java b/web/src/main/java/it/pagopa/selfcare/external_api/web/model/institutions/InstitutionLocationDataDto.java index 3e9c1cd8..1268959d 100644 --- a/web/src/main/java/it/pagopa/selfcare/external_api/web/model/institutions/InstitutionLocationDataDto.java +++ b/web/src/main/java/it/pagopa/selfcare/external_api/web/model/institutions/InstitutionLocationDataDto.java @@ -5,13 +5,13 @@ @Data public class InstitutionLocationDataDto { - @ApiModelProperty(value = "${swagger.external_api.institutions.model.city}", required = true) + @ApiModelProperty(value = "${swagger.external_api.institutions.model.city}") private String city; - @ApiModelProperty(value = "${swagger.external_api.institutions.model.county}", required = true) + @ApiModelProperty(value = "${swagger.external_api.institutions.model.county}") private String county; - @ApiModelProperty(value = "${swagger.external_api.institutions.model.country}", required = true) + @ApiModelProperty(value = "${swagger.external_api.institutions.model.country}") private String country; } diff --git a/web/src/main/java/it/pagopa/selfcare/external_api/web/model/onboarding/OnboardingProductDto.java b/web/src/main/java/it/pagopa/selfcare/external_api/web/model/onboarding/OnboardingProductDto.java index eca3e0f6..a1ae412c 100644 --- a/web/src/main/java/it/pagopa/selfcare/external_api/web/model/onboarding/OnboardingProductDto.java +++ b/web/src/main/java/it/pagopa/selfcare/external_api/web/model/onboarding/OnboardingProductDto.java @@ -33,6 +33,9 @@ public class OnboardingProductDto { @ApiModelProperty(value = "${swagger.external_api.institutions.model.origin}") private String origin; + @ApiModelProperty(value = "${swagger.external_api.institutions.model.originId}") + private String ivassCode; + @ApiModelProperty(value = "${swagger.external_api.institutions.model.pricingPlan}") private String pricingPlan;