Browse Source
Merge pull request #10635 from dashevchenko/swagger_impr
Deleted "required" from tenant email swagger schema
pull/10648/head
Viacheslav Klimov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
common/data/src/main/java/org/thingsboard/server/common/data/Tenant.java
|
|
|
@ -152,7 +152,7 @@ public class Tenant extends ContactBased<TenantId> implements HasTenantId, HasTi |
|
|
|
return super.getPhone(); |
|
|
|
} |
|
|
|
|
|
|
|
@Schema(requiredMode = Schema.RequiredMode.REQUIRED, description = "Email", example = "example@company.com") |
|
|
|
@Schema(description = "Email", example = "example@company.com") |
|
|
|
@Override |
|
|
|
public String getEmail() { |
|
|
|
return super.getEmail(); |
|
|
|
|