Skip to content

Commit

Permalink
FIX: Invalid validation key for string type (#48)
Browse files Browse the repository at this point in the history
For `type: string`, the validation keys for minimum and maximum length
should be `min_length` and `max_length`
  • Loading branch information
tgxworld authored Apr 24, 2024
1 parent 3e06c50 commit 68631a8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ sections:
type: string
required: true
validations:
min: 1
max: 1000
min_length: 1
max_length: 1000
title:
type: string
required: true
validations:
min: 1
max: 1000
min_length: 1
max_length: 1000
links:
type: objects
schema:
Expand All @@ -125,14 +125,14 @@ sections:
type: string
required: true
validations:
min: 1
max: 1000
min_length: 1
max_length: 1000
url:
type: string
required: true
validations:
min: 1
max: 2048
min_length: 1
max_length: 2048
target:
type: enum
default: _blank
Expand All @@ -145,8 +145,8 @@ sections:
type: string
required: true
validations:
min: 1
max: 1000
min_length: 1
max_length: 1000
referrer_policy:
type: enum
default: no-referrer-when-downgrade
Expand Down

0 comments on commit 68631a8

Please sign in to comment.