change(api): tags creation allow escaped cahracters for name
This commit is contained in:
parent
85325334e6
commit
ea6c957cc9
1 changed files with 1 additions and 1 deletions
|
|
@ -1602,7 +1602,7 @@ class ModuleStatus(BaseModel):
|
|||
|
||||
|
||||
class TagUpdate(BaseModel):
|
||||
name: str = Field(..., min_length=1, max_length=100, pattern='^[a-zA-Z0-9][a-zA-Z0-9_ -]+$')
|
||||
name: str = Field(..., min_length=1, max_length=100, pattern='^[a-zA-Z0-9\" -]*$')
|
||||
|
||||
|
||||
class TagCreate(TagUpdate):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue