mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 07:26:55 +08:00
feat: add comparator in validate schema
This commit is contained in:
@@ -191,9 +191,18 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": {
|
"propertyNames": {
|
||||||
"enum": [
|
"enum": [
|
||||||
"eq",
|
"eq", "equals", "==", "is",
|
||||||
"lt",
|
"lt", "less_than",
|
||||||
"gt"
|
"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": {
|
"patternProperties": {
|
||||||
|
|||||||
Reference in New Issue
Block a user