Set key of DistributionSetType and SoftwareModuleType required (#1140)
Signed-off-by: Florian Ruschbaschan <Florian.Ruschbaschan@bosch.io>
This commit is contained in:
committed by
GitHub
parent
98535c96b4
commit
df84047e5d
@@ -30,7 +30,7 @@ public class MgmtDistributionSetType extends MgmtNamedEntity {
|
||||
@JsonProperty(value = "id", required = true)
|
||||
private Long moduleId;
|
||||
|
||||
@JsonProperty
|
||||
@JsonProperty(required = true)
|
||||
private String key;
|
||||
|
||||
@JsonProperty
|
||||
|
||||
@@ -23,7 +23,7 @@ public class MgmtDistributionSetTypeRequestBodyPost extends MgmtDistributionSetT
|
||||
@JsonProperty(required = true)
|
||||
private String name;
|
||||
|
||||
@JsonProperty
|
||||
@JsonProperty(required = true)
|
||||
private String key;
|
||||
|
||||
@JsonProperty
|
||||
|
||||
@@ -27,7 +27,7 @@ public class MgmtSoftwareModuleType extends MgmtNamedEntity {
|
||||
@JsonProperty(value = "id", required = true)
|
||||
private Long moduleId;
|
||||
|
||||
@JsonProperty
|
||||
@JsonProperty(required = true)
|
||||
private String key;
|
||||
|
||||
@JsonProperty
|
||||
|
||||
@@ -19,7 +19,7 @@ public class MgmtSoftwareModuleTypeRequestBodyPost extends MgmtSoftwareModuleTyp
|
||||
@JsonProperty(required = true)
|
||||
private String name;
|
||||
|
||||
@JsonProperty
|
||||
@JsonProperty(required = true)
|
||||
private String key;
|
||||
|
||||
@JsonProperty
|
||||
|
||||
Reference in New Issue
Block a user