forked from loafle/openapi-generator-original
python: Fix model maxLength validation error message
This commit is contained in:
@@ -428,7 +428,7 @@ class FormatTest(object):
|
||||
if not password:
|
||||
raise ValueError("Invalid value for `password`, must not be `None`")
|
||||
if len(password) > 64:
|
||||
raise ValueError("Invalid value for `password`, length must be less than `64`")
|
||||
raise ValueError("Invalid value for `password`, length must be less than or equal to `64`")
|
||||
if len(password) < 10:
|
||||
raise ValueError("Invalid value for `password`, length must be greater than or equal to `10`")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user