-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
@Data | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
public class UserProfileAllDto { | ||
@Schema(example = "[email protected]", maxLength = 255) | ||
@Schema(example = "[email protected]", format = "byte", maxLength = 255) | ||
private String userId; | ||
private UserProfileEnum profile; | ||
@Schema(example = "{\"date\":\"2023-11-03T14:18:36.635+00:00\"}") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ public class UserProfileCreationDto { | |
|
||
@NotNull(message = "is required") | ||
@Email(message = "must be an email address in the correct format") | ||
@Schema(required = true, example = "[email protected]", maxLength = 255) | ||
@Schema(required = true, example = "[email protected]", format="byte", maxLength = 255) | ||
private String userId; | ||
@NotNull(message = "is required") | ||
@Schema(required = true, description = "1 = GUEST, 2 = OPERATOR, 3 = ADMIN", minimum = "1", maximum = "10") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
@Data | ||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
public class UserProfileDto { | ||
@Schema(example = "[email protected]", maxLength = 255) | ||
@Schema(example = "[email protected]", format = "byte", maxLength = 255) | ||
private String userId; | ||
private UserProfileEnum profile; | ||
private Boolean visible; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters