RED-9749 - Remove notnull constraint #629
@ -14,11 +14,9 @@ import lombok.NonNull;
|
||||
@Schema(description = "Object containing information about a component.")
|
||||
public class ComponentDefinitionAddRequest {
|
||||
|
||||
@NonNull
|
||||
@Schema(description = "The technical name of the component in snake case. Must be unique within the same dossier template.")
|
||||
private String technicalName;
|
||||
|
||||
@NonNull
|
||||
@Schema(description = "The display name of the component.")
|
||||
private String displayName;
|
||||
|
||||
|
||||
@ -17,7 +17,6 @@ public class ComponentDefinitionUpdateRequest {
|
||||
@Schema(description = "The id of the component.")
|
||||
private String id;
|
||||
|
||||
@NonNull
|
||||
@Schema(description = "The display name of the component.")
|
||||
private String displayName;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user