We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e066028 commit db692a3Copy full SHA for db692a3
src/main/java/com/sterul/opencookbookapiserver/controllers/requests/RecipeGroupRequest.java
@@ -1,8 +1,5 @@
1
package com.sterul.opencookbookapiserver.controllers.requests;
2
3
-import jakarta.validation.constraints.NotEmpty;
4
-import jakarta.validation.constraints.NotNull;
5
-
6
import lombok.AllArgsConstructor;
7
import lombok.Builder;
8
import lombok.Data;
@@ -16,8 +13,10 @@ public class RecipeGroupRequest {
16
13
17
14
private Long id;
18
15
19
- @NotNull
20
- @NotEmpty
+ // Temporarily disabled. When a recipe has a recipe group, it does not have a title
+ // TODO: Different class for recipe group creation / update and recipe creation / update
+ // @NotNull
+ // @NotEmpty
21
private String title;
22
23
}
0 commit comments