deleted "required" from tenant email swagger schema

This commit is contained in:
dashevchenko 2024-04-25 16:00:18 +03:00
parent 299ecd1cb8
commit 87fc91e088

View File

@ -152,7 +152,7 @@ public class Tenant extends ContactBased<TenantId> implements HasTenantId, HasTi
return super.getPhone(); return super.getPhone();
} }
@Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "Email", example = "example@company.com") @Schema(description = "Email", example = "example@company.com")
@Override @Override
public String getEmail() { public String getEmail() {
return super.getEmail(); return super.getEmail();