fix: maxAssingments required property in MgmtSoftwareModuleTypeRequestBodyPost (#2671)

resolves #2669
This commit is contained in:
Florian Kromer
2025-09-16 09:51:29 +02:00
committed by GitHub
parent 5deb519e7c
commit ade9904d21

View File

@@ -33,6 +33,7 @@ public class MgmtSoftwareModuleTypeRequestBodyPost extends MgmtSoftwareModuleTyp
@Schema(example = "Example key")
private String key;
@JsonProperty(required = true)
@Schema(example = "1")
private int maxAssignments;
@@ -47,4 +48,4 @@ public class MgmtSoftwareModuleTypeRequestBodyPost extends MgmtSoftwareModuleTyp
super.setColour(colour);
return this;
}
}
}