made improvements
This commit is contained in:
1 parent
0169cf04b6
commit
913f3c75f1
3 files changed
+5
-7
No files matched your search
@@ -6,8 +6,8 @@ import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotEmpty;
|
||||
|
||||
public record ConnectionRequest(
|
||||
@NotBlank(message = "App URL is mandatory") String appUrl,
|
||||
@NotBlank String serviceType,
|
||||
@NotEmpty Map <String, String> credentials,
|
||||
boolean stayLoggedIn) {
|
||||
@NotBlank(message = "App URL is mandatory") String appUrl,
|
||||
@NotBlank(message = "Service type is mandatory") String serviceType,
|
||||
@NotEmpty(message = "Credentials are mandatory") Map<String, String> credentials,
|
||||
boolean stayLoggedIn) {
|
||||
}
|
||||
Reference in new issue
Block a user