Skip to content

Commit 6cdddc9

Browse files
committed
Validation rule default is none (#256)
1 parent 151f304 commit 6cdddc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/swagger/resources/reference_entity_attributes/definitions/reference_entity_attribute.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ properties:
5050
validation_rule:
5151
type: string
5252
description: Validation rule type used to validate the attribute value when the attribute type is `text`
53-
default : null
53+
default : "none"
5454
x-warning: Only for `text` attribute type
55-
enum: ['email', 'url', 'regexp', null]
55+
enum: ['email', 'url', 'regexp', 'none']
5656
validation_regexp:
5757
type: string
5858
description: Regexp expression used to validate the attribute value when the attribute type is `text`

0 commit comments

Comments
 (0)