mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-05 12:22:35 +02:00
Add Regex matching
This commit is contained in:
parent
758be58b31
commit
df5b3fdda8
3 changed files with 29 additions and 2 deletions
|
@ -1064,8 +1064,8 @@ components:
|
|||
$ref: "#/components/schemas/comment"
|
||||
comment:
|
||||
minLength: 5
|
||||
maxLength: 100 #todo think about it
|
||||
pattern: ".*" #everything except newlines
|
||||
maxLength: 255
|
||||
pattern: ".*" #everything except newlines ^[*]{5, 255}$
|
||||
type: string
|
||||
example: "What a lovely picture! 😊"
|
||||
description: The comment's text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue