Skip to content

Commit

Permalink
[SELC - 4465 -fix] feat: Removal of mandatory zipCode (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
gianmarcoplutino authored Apr 17, 2024
1 parent 06157f3 commit 5a0b79b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/src/main/resources/swagger/api-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2038,7 +2038,7 @@
},
"BillingDataDto" : {
"title" : "BillingDataDto",
"required" : [ "businessName", "digitalAddress", "registeredOffice", "zipCode" ],
"required" : [ "businessName", "digitalAddress", "registeredOffice" ],
"type" : "object",
"properties" : {
"businessName" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ public class BillingDataDto {
@NotBlank
private String digitalAddress;

@ApiModelProperty(value = "${swagger.onboarding.institutions.model.zipCode}", required = true)
@JsonProperty(required = true)
@NotBlank
@ApiModelProperty(value = "${swagger.onboarding.institutions.model.zipCode}")
private String zipCode;

@ApiModelProperty(value = "${swagger.onboarding.institutions.model.taxCode}")
Expand Down

0 comments on commit 5a0b79b

Please sign in to comment.