From 8d39b3e853abc7b92e294acdd13b620ac14cf5ce Mon Sep 17 00:00:00 2001 From: "dapla-bot[bot]" <143391972+dapla-bot[bot]@users.noreply.github.com> Date: Mon, 26 Aug 2024 08:45:49 +0000 Subject: [PATCH] [GENERATE] Java classes from JSON Schema --- .../main/java/no/ssb/dapla/kuben/v1/KubenTeamDefinition.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generated/java/dapla-kuben-resource-model/src/main/java/no/ssb/dapla/kuben/v1/KubenTeamDefinition.java b/generated/java/dapla-kuben-resource-model/src/main/java/no/ssb/dapla/kuben/v1/KubenTeamDefinition.java index 2fbee31..8cd9b35 100644 --- a/generated/java/dapla-kuben-resource-model/src/main/java/no/ssb/dapla/kuben/v1/KubenTeamDefinition.java +++ b/generated/java/dapla-kuben-resource-model/src/main/java/no/ssb/dapla/kuben/v1/KubenTeamDefinition.java @@ -43,7 +43,7 @@ public class KubenTeamDefinition implements Serializable * */ @JsonProperty("uniform_name") - @Pattern(regexp = "^[a-z-]*$") + @Pattern(regexp = "^[a-z0-9-]*$") @Size(max = 17) @NotNull private String uniformName;