Skip to content

Commit c1f06a0

Browse files
authored
Update prompt-registry based on main (#470)
1 parent 5146fcf commit c1f06a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core-services/prompt-registry/src/main/resources/spec/prompt-registry.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,12 +544,15 @@ components:
544544
name:
545545
type: string
546546
maxLength: 120
547+
pattern: "^[a-zA-Z0-9_-]+$"
547548
version:
548549
type: string
549550
maxLength: 10
551+
pattern: "^[a-zA-Z0-9._-]+$"
550552
scenario:
551553
type: string
552554
maxLength: 120
555+
pattern: "^[a-zA-Z0-9_-]+$"
553556
spec:
554557
$ref: "#/components/schemas/PromptTemplateSpec"
555558
PromptTemplatePostResponse:

0 commit comments

Comments
 (0)