We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5152d67 commit 5e4ff2bCopy full SHA for 5e4ff2b
1 file changed
rentplace/src/main/java/kattsyn/dev/rentplace/dtos/CodeRequest.java
@@ -1,5 +1,6 @@
1
package kattsyn.dev.rentplace.dtos;
2
3
+import io.swagger.v3.oas.annotations.media.Schema;
4
import jakarta.validation.constraints.Email;
5
import lombok.AllArgsConstructor;
6
import lombok.Getter;
@@ -13,6 +14,7 @@
13
14
public class CodeRequest {
15
16
@Email
17
+ @Schema(description = "Почта пользователя", example = "warshard1337@gmail.com")
18
private String email;
19
20
}
0 commit comments