mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-13 04:00:11 +08:00
feat: add comparator in validate schema
This commit is contained in:
@@ -191,9 +191,18 @@
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"enum": [
|
||||
"eq",
|
||||
"lt",
|
||||
"gt"
|
||||
"eq", "equals", "==", "is",
|
||||
"lt", "less_than",
|
||||
"le", "less_than_or_equals",
|
||||
"gt", "greater_than",
|
||||
"ge", "greater_than_or_equals",
|
||||
"ne", "not_equals",
|
||||
"str_eq", "string_equals",
|
||||
"len_eq", "length_equals", "count_eq",
|
||||
"len_gt", "count_gt", "length_greater_than", "count_greater_than",
|
||||
"len_ge", "count_ge", "length_greater_than_or_equals", "count_greater_than_or_equals",
|
||||
"len_lt", "count_lt", "length_less_than", "count_less_than",
|
||||
"len_le", "count_le", "length_less_than_or_equals", "count_less_than_or_equals"
|
||||
]
|
||||
},
|
||||
"patternProperties": {
|
||||
|
||||
Reference in New Issue
Block a user