Skip to content

Commit 70a7b1e

Browse files
authored
feat(inference): enforce regex name constraint on updateDeployment (#2558)
1 parent e702e66 commit 70a7b1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages_generated/inference/src/v1/validation-rules.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,6 @@ export const UpdateDeploymentRequest = {
6161
name: {
6262
maxLength: 255,
6363
minLength: 1,
64+
pattern: /^[A-Za-z0-9-_]+$/,
6465
},
6566
}

0 commit comments

Comments
 (0)