Merge branch 'RED-9749-fp' into 'master'
RED-9749 - Remove notnull constraint Closes RED-9749 See merge request redactmanager/persistence-service!629
This commit is contained in:
commit
cd899b2774
@ -14,11 +14,9 @@ import lombok.NonNull;
|
|||||||
@Schema(description = "Object containing information about a component.")
|
@Schema(description = "Object containing information about a component.")
|
||||||
public class ComponentDefinitionAddRequest {
|
public class ComponentDefinitionAddRequest {
|
||||||
|
|
||||||
@NonNull
|
|
||||||
@Schema(description = "The technical name of the component in snake case. Must be unique within the same dossier template.")
|
@Schema(description = "The technical name of the component in snake case. Must be unique within the same dossier template.")
|
||||||
private String technicalName;
|
private String technicalName;
|
||||||
|
|
||||||
@NonNull
|
|
||||||
@Schema(description = "The display name of the component.")
|
@Schema(description = "The display name of the component.")
|
||||||
private String displayName;
|
private String displayName;
|
||||||
|
|
||||||
|
|||||||
@ -17,7 +17,6 @@ public class ComponentDefinitionUpdateRequest {
|
|||||||
@Schema(description = "The id of the component.")
|
@Schema(description = "The id of the component.")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
||||||
@NonNull
|
|
||||||
@Schema(description = "The display name of the component.")
|
@Schema(description = "The display name of the component.")
|
||||||
private String displayName;
|
private String displayName;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user